Level
A single price level in the orderbook:Usage
In Orderbook
L3Order
Individual order (Level 3):Usage
L3Side
Decimal Precision
All prices and quantities userust_decimal::Decimal:
Never use
f64 for financial calculations. Floating-point arithmetic causes rounding errors that compound over time.