Skip to main content

parse_ws_trade

Function parse_ws_trade 

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

Parses a WebSocket trade into a [TradeTick].