Systematic trading engine · C++20
Orbit
A trading engine I built and run. Scroll, or press Play, to send one market tick through it.
- Venue WebSockets
Order books, trades and own fills from 5 venues
- io thread942 ns p50
Parse the JSON, update the local order book
- SPSC ring22 ns
Lock-free queue between threads, one writer on each side
- exec threadstrategy 18 ns
Strategy plugin, then risk checks, then the order manager
- Order workers
Encode, sign and send, off the exec thread
- Exchange order API
REST or WebSocket order entry
Waiting for a tick. Scroll down, or press Play.
Prices and sizes are illustrative. Stage times and the total are measured.
77.6 µs
p99 from market tick to signed order, measured locally.
5 venues
Market data in, live on Mudrex, with testnet and simulation sleeves.
1,500+ tests · 43 releases
Shipped in 6 weeks, C++20 with gtest.
3 servers
AWS, Oracle Cloud and Hostkey, set up with Terraform. Deploys roll back on failure. The admin panel is only reachable over WireGuard, with kill switches and every action logged.
Off the hot path: recorder threads (zstd to Parquet and Postgres), the dashboard API, hot config reload on SIGHUP, and a plugin loader that checks the ABI before loading.
Orbit is private. I share demos and code walkthroughs by email.
Request a walkthrough
