ex_binance v0.0.2 ExBinance.Ticker
Struct for representing a result row as returned by /api/v1/ticker/24hr
defstruct [
:price_change,
:price_change_percent,
:weighted_avg_price,
:prev_close_price,
:last_price,
:bid_price,
:ask_price,
:open_price,
:high_price,
:low_price,
:volume,
:open_time,
:close_time,
:first_id,
:last_id,
:count
]
Link to this section Summary
Link to this section Functions
Link to this function
new(map_or_kwlist, opts \\ [])
new(map_or_kwlist, opts \\ [])
new(ExConstructor.map_or_kwlist(), Keyword.t()) :: %ExBinance.Ticker{
ask_price: term(),
bid_price: term(),
close_time: term(),
count: term(),
first_id: term(),
high_price: term(),
last_id: term(),
last_price: term(),
low_price: term(),
open_price: term(),
open_time: term(),
prev_close_price: term(),
price_change: term(),
price_change_percent: term(),
volume: term(),
weighted_avg_price: term()
}
new(ExConstructor.map_or_kwlist(), Keyword.t()) :: %ExBinance.Ticker{ ask_price: term(), bid_price: term(), close_time: term(), count: term(), first_id: term(), high_price: term(), last_id: term(), last_price: term(), low_price: term(), open_price: term(), open_time: term(), prev_close_price: term(), price_change: term(), price_change_percent: term(), volume: term(), weighted_avg_price: term() }