# ExBitmex
[![Coverage Status](](

BitMEX API Client for Elixir

## Installation

If [available in Hex](, the package can be installed
by adding `bitmex` to your list of dependencies in `mix.exs`:

def deps do
    {:ex_bitmex, "~> 0.2"}

Documentation can be generated with [ExDoc](
and published on [HexDocs]( Once published, the docs can
be found at [](

## WebSocket

Create a WebSocket wrapper with a handler

defmodule BitMexWebSocketWrapper do
  use ExBitmex.WebSocket

  def handle_response(json, _state) do
    Logger.warn("Received #{inspect(json)}")