Market Simulator: Simulated financial exchange with a full matching engine Built a simulated exch...Market Simulator: Simulated financial exchange with a full matching engine Built a simulated exch...
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
Market Simulator: Simulated financial exchange with a full matching engine
Built a simulated exchange to explore how real trading systems work under the hood. A limit order book with price-time priority matching, supporting multiple instruments each with their own independent book. Implemented partial fill support in the matching engine and a configurable bot framework to stress-test it at scale, with PostgreSQL persisting every trade.
Exposed the whole thing through a REST API (FastAPI) for placing and cancelling orders, querying the live order book, and retrieving trade history; designed and tested like a real production system, not a script.
Post image
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started