nautilus_databento::decode

Function decode_mbo_msg

Source
pub fn decode_mbo_msg(
    msg: &MboMsg,
    instrument_id: InstrumentId,
    price_precision: u8,
    ts_init: UnixNanos,
    include_trades: bool,
) -> Result<(Option<OrderBookDelta>, Option<TradeTick>)>