Skip to main content

parse_orderbook_deltas_with_flag

Function parse_orderbook_deltas_with_flag 

Source
pub fn parse_orderbook_deltas_with_flag(
    instrument_id: &InstrumentId,
    contents: &DydxOrderbookContents,
    price_precision: u8,
    size_precision: u8,
    ts_init: UnixNanos,
    is_last_message: bool,
) -> DydxWsResult<Vec<OrderBookDelta>>
Expand description

Parses orderbook deltas with explicit last-message flag for batch processing.

ยงErrors

Returns an error if price/size parsing fails.