Skip to main content

levels_from_pairs

Function levels_from_pairs 

Source
pub fn levels_from_pairs(
    levels: impl IntoIterator<Item = (i64, i64)>,
) -> BookSide
Expand description

Build a book side from (price_ticks, qty_scaled) pairs (zero qty skipped).