pub fn decode_trade_msg(
msg: &TradeMsg,
instrument_id: InstrumentId,
price_precision: u8,
ts_init: Option<UnixNanos>,
) -> Result<TradeTick>
Expand description
Decodes a Databento Trade message into a TradeTick
.
ยงErrors
Returns an error if decoding the Trade message fails.