Unified options contract data.
Represents market data for an options contract. Named OptionData
to avoid confusion with Elixir's concept of options.
Fields
currency- Settlement currencysymbol- Unified symboltimestamp- Data timestamp in millisecondsdatetime- ISO 8601 datetime stringimplied_volatility- Implied volatilityopen_interest- Open interestbid_price- Bid priceask_price- Ask pricemid_price- Mid pricemark_price- Mark pricelast_price- Last traded priceunderlying_price- Underlying asset pricechange- Price changepercentage- Percentage changebase_volume- Volume in base currencyquote_volume- Volume in quote currencyinfo- Raw exchange response
Summary
Types
@type t() :: %CCXT.OptionData{ ask_price: number() | nil, base_volume: number() | nil, bid_price: number() | nil, change: number() | nil, currency: String.t() | nil, datetime: String.t() | nil, implied_volatility: number() | nil, info: map() | nil, last_price: number() | nil, mark_price: number() | nil, mid_price: number() | nil, open_interest: number() | nil, percentage: number() | nil, quote_volume: number() | nil, symbol: String.t() | nil, timestamp: integer() | nil, underlying_price: number() | nil }
Functions
@spec schema() :: map()
JSON Schema for the OptionData unified type.