A full-stack crypto exchange built from scratch, with a matching engine, real-time order book, and a trading interface modeled after professional exchanges.
The frontend supports limit and market orders, live depth view, candlestick charts via TradingView, and real-time trade feeds over WebSocket.
Orders flow from the browser through an API server into a Redis queue, where the matching engine picks them up, processes fills, and publishes results back over Redis pubsub. A database processor consumes trade events and writes them to a time series DB. WebSocket servers relay real-time updates back to connected clients.
Each market runs its own orderbook in the engine. When an order is placed, it gets routed to the correct orderbook, matched if possible, and the resulting ORDER_FILLED and BOOK_UPDATED events are pushed onto a queue for downstream consumers.


