Expand description
Tick normalization — raw exchange messages → canonical NormalizedTick.
§Responsibility
Convert heterogeneous exchange tick formats (Binance, Coinbase, Alpaca, Polygon) into a single canonical representation. This stage must add <1μs overhead per tick on the hot path.
§Guarantees
- Deterministic: same raw bytes always produce the same NormalizedTick
- Non-allocating hot path: NormalizedTick is stack-allocated
- Thread-safe: TickNormalizer is Send + Sync
Structs§
- Normalized
Tick - Canonical normalized tick — exchange-agnostic.
- RawTick
- Raw tick — unprocessed bytes from an exchange WebSocket.
- Tick
Normalizer - Normalizes raw ticks from any supported exchange into
NormalizedTickform.