ExDeribit.MarketData.Instruments (ex_deribit v0.0.9)

Link to this section Summary

Link to this section Types

Specs

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

instrument()

Specs

instrument() :: ExDeribit.Instrument.t()

Specs

opts() :: %{
  optional(:kind) => :future | :option,
  optional(:expired) => boolean()
}

Specs

result() :: {:ok, [instrument()]} | {:error, :parse_result_item}

Link to this section Functions

Link to this function

get(currency, opts \\ %{})

Specs

get(currency(), opts()) :: result()