Unified market ticker data.
Contains the latest price, volume, and spread information for a trading pair.
Fields
symbol- Unified symbol (e.g., "BTC/USDT")timestamp- Exchange timestamp in millisecondsdatetime- ISO 8601 datetime stringhigh,low- 24h high/low pricesbid,bid_volume- Best bid price and volumeask,ask_volume- Best ask price and volumevwap- Volume-weighted average priceopen,close,last- 24h open, close, and last trade pricesprevious_close- Previous 24h closechange,percentage- 24h absolute change and percentageaverage- Average of open and closebase_volume,quote_volume- 24h volume in base/quote currencyindex_price,mark_price- Derivatives index/mark pricesinfo- Raw exchange response
Summary
Types
@type t() :: %CCXT.Ticker{ ask: number() | nil, ask_volume: number() | nil, average: number() | nil, base_volume: number() | nil, bid: number() | nil, bid_volume: number() | nil, change: number() | nil, close: number() | nil, datetime: String.t() | nil, high: number() | nil, index_price: number() | nil, info: map() | nil, last: number() | nil, low: number() | nil, mark_price: number() | nil, open: number() | nil, percentage: number() | nil, previous_close: number() | nil, quote_volume: number() | nil, symbol: String.t() | nil, timestamp: integer() | nil, vwap: number() | nil }
Functions
@spec schema() :: map()
JSON Schema for the Ticker unified type.