nautilus_adapters::databento::decode

Function decode_trade_msg

Source
pub fn decode_trade_msg(
    msg: &TradeMsg,
    instrument_id: InstrumentId,
    price_precision: u8,
    ts_init: UnixNanos,
) -> Result<TradeTick>