ExFtx.Markets.OrderBook (ex_ftx v0.0.14)

Link to this section Summary

Link to this section Types

Link to this type

market_name()

Specs

market_name() :: String.t()
Link to this type

order_book()

Specs

order_book() :: ExFtx.OrderBook.t()

Specs

params() :: %{optional(:depth) => pos_integer()}

Specs

result() ::
  {:ok, order_book()} | {:error, :not_found | :parse_result_item | String.t()}

Link to this section Functions

Link to this function

get(market_name, params \\ %{})

Specs

get(market_name(), params()) :: result()