Skip to main content

parse_ws_ticker

Function parse_ws_ticker 

Source
pub fn parse_ws_ticker(
    ticker: &WsTicker,
    instrument: &InstrumentAny,
    ts_event: UnixNanos,
    ts_init: UnixNanos,
) -> Result<QuoteTick>
Expand description

Parses a WebSocket ticker into a [QuoteTick].