pub fn parse_ticker_option_index_price(
msg: &BybitWsTickerOptionMsg,
instrument: &InstrumentAny,
ts_init: UnixNanos,
) -> Result<IndexPriceUpdate>Expand description
Parses an option ticker payload into an [IndexPriceUpdate].
ยงErrors
Returns an error if the index_price field cannot be parsed.