pub fn parse_ticker_to_mark_price(
msg: &DeribitTickerMsg,
instrument: &InstrumentAny,
ts_init: UnixNanos,
) -> Result<MarkPriceUpdate>Expand description
Parses a Deribit ticker message into a Nautilus MarkPriceUpdate.
ยงErrors
Returns an error if the price cannot be converted to the required precision.