Skip to main content

parse_ticker_to_option_greeks

Function parse_ticker_to_option_greeks 

Source
pub fn parse_ticker_to_option_greeks(
    msg: &DeribitTickerMsg,
    instrument: &InstrumentAny,
    ts_init: UnixNanos,
) -> Option<OptionGreeks>
Expand description

Parses a Deribit ticker message into a Nautilus OptionGreeks.

Returns None if the ticker message does not contain Greeks (non-option instrument).