Module orderbook

Source
Expand description

L2 Order Book - Simple, accurate, and efficient

A clean L2 order book implementation optimized for backtesting accuracy. Maintains price levels with aggregated quantities and order counts.

Structsยง

Level
L2 price level with aggregated quantity and order count
OrderBook
L2 Order Book maintaining bid/ask levels