The Lux CLOB is a high-performance central limit order book matching engine that operates as an SEC-registered Alternative Trading System. It supports equities, options, futures, and digital assets with sub-microsecond matching latency.
┌──────────────┐ ┌──────────────┐ ┌──────────────┐
│ FIX Gateway │ │ REST/WS API │ │ NATS Cluster │
│ (port 9878) │ │ (port 8085) │ │ (multi-node) │
└──────┬───────┘ └──────┬───────┘ └──────┬───────┘
│ │ │
└────────────┬───────┘────────────────────┘
│
┌─────┴─────┐
│ Matching │
│ Engine │
│ │
│ Order Book │
│ Price-Time │
│ Priority │
└─────┬──────┘
│
┌──────────┼──────────┐
│ │ │
┌────┴───┐ ┌────┴───┐ ┌───┴────┐
│ Market │ │ Trade │ │ Risk │
│ Data │ │ Report │ │ Engine │
└────────┘ └────────┘ └────────┘
The engine accepts orders via FIX 4.4 over TCP or ZeroMQ:
For distributed deployments, the engine uses NATS JetStream for order replication across nodes. Leader election via Raft ensures exactly-once execution.
Aggregated from multiple sources: