Skip to main content

book_snapshot

Function book_snapshot 

Source
pub fn book_snapshot(
    instrument: &InstrumentId,
    state: &BookState,
    depth: usize,
    broker_ts: Option<UnixNanos>,
    now: Instant,
) -> OrderBook
Expand description

Full snapshot event from the local book.