01
In-memory matching engine
Orders are processed against an in-memory order book so matching stays fast and deterministic.
Place limit orders, watch bids and asks update live, track fills in real time, and explore market history through a full exchange-style interface backed by a real matching engine.
The trading screen is backed by separate API, engine, WebSocket, database-worker and market-maker services. The UI is only one layer of the system.
Orders are processed against an in-memory order book so matching stays fast and deterministic.
API commands and engine events move through Redis streams and pub/sub between independent services.
Orders, balances, trades and historical market data are persisted in PostgreSQL and TimescaleDB.
Depth, trades and private order updates are pushed to the browser without polling the server.