Skip to main content

parse_book_l2_quote

Function parse_book_l2_quote 

Source
pub fn parse_book_l2_quote(
    book: &AxMdBookL2,
    instrument: &InstrumentAny,
    ts_init: UnixNanos,
) -> Result<QuoteTick>
Expand description

Parses the top levels of an Ax L2 book message into a [QuoteTick].

ยงErrors

Returns an error if price or quantity parsing fails.