workbench v0.0.1 Workbench.BalanceSnapshots.MidPrice
Link to this section Summary
Link to this section Types
Link to this type
error_reasons()
error_reasons() :: {quote_pair(), :not_found | :no_inside_bid | :no_inside_ask | :no_inside_bid_or_ask}
Link to this section Functions
Link to this function
first(asset, quote_pairs)
first(asset(), [quote_pair()]) :: {:ok, Decimal.t()} | {:error, error_reasons()}
Link to this function