parse_ticker_to_mark_price

Function parse_ticker_to_mark_price 

Source
pub fn parse_ticker_to_mark_price(
    msg: &DeribitTickerMsg,
    instrument: &InstrumentAny,
    ts_init: UnixNanos,
) -> MarkPriceUpdate
Expand description

Parses a Deribit ticker message into a Nautilus MarkPriceUpdate.