nautilus_databento::decode

Function decode_mbp1_msg

Source
pub fn decode_mbp1_msg(
    msg: &Mbp1Msg,
    instrument_id: InstrumentId,
    price_precision: u8,
    ts_init: UnixNanos,
    include_trades: bool,
) -> Result<(QuoteTick, Option<TradeTick>)>