parse_ws_trade_tick

Function parse_ws_trade_tick 

Source
pub fn parse_ws_trade_tick(
    trade: &BybitWsTrade,
    instrument: &InstrumentAny,
    ts_init: UnixNanos,
) -> Result<TradeTick>
Expand description

Parses a WebSocket trade frame into a TradeTick.