decode_mbp1_msg

Function decode_mbp1_msg 

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

ยงErrors

Returns an error if decoding the MBP1 message fails.