Skip to main content

parse_trade_ticks

Function parse_trade_ticks 

Source
pub fn parse_trade_ticks(
    instrument_id: InstrumentId,
    instrument: &InstrumentAny,
    contents: &DydxTradeContents,
    ts_init: UnixNanos,
) -> DydxWsResult<Vec<Data>>
Expand description

Parses trade ticks from trade contents.

ยงErrors

Returns an error if price/size/timestamp parsing fails.