Real-time matching engine

Trade on a realorder book.

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.

Transport
WebSocket
Matching
In-memory
Messaging
Redis
Storage
TimescaleDB
BTC / USDC
Live order book
Spread
0.04%
PriceSizeTotal
77,496.352095
77,480.881283
77,465.421171
77,449.96559
77,434.491447
77,357.17
Last price
77,279.8544
77,264.38513
77,261.43222
77,248.92931
77,233.451140
Bid depth
47%
Ask depth
53%
System architecture

Built beyond the interface.

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.

01

In-memory matching engine

Orders are processed against an in-memory order book so matching stays fast and deterministic.

02

Redis messaging

API commands and engine events move through Redis streams and pub/sub between independent services.

03

Persistent market state

Orders, balances, trades and historical market data are persisted in PostgreSQL and TimescaleDB.

04

Real-time WebSockets

Depth, trades and private order updates are pushed to the browser without polling the server.

Request flow
Browser
REST + WebSocket
API
Redis stream
Matching engine
Single logical writer
WebSocket server
Depth, trades, private updates
DB worker
PostgreSQL + TimescaleDB persistence