Function orderbook_depth_for_memory

Source
pub const fn orderbook_depth_for_memory(
    memory_bytes: usize,
    level_size: usize,
) -> usize
Expand description

HFT-specific utilities Calculate order book depth for given memory budget (bytes)