As CTO and co-founder of Cirrus, a trading platform in India, I designed and wrote the order management system that sits between our users and their brokers. About 95% of the commits are mine. The code is private, so this is a description, not a link.
It is a 26-crate Rust workspace with about 8,000 tests. It places, modifies and cancels orders across many accounts. Every placement is claimed in durable state before it is sent, so a retry or restart cannot send the same order twice. Rate limits are enforced per account. Large orders are sliced to exchange limits. Accounts are sharded across nodes with leases and fencing, and a node that takes over reconciles against the broker before it acts. It has adapters for 16 Indian brokers, each checked against recorded broker replies in CI, and it exposes REST, WebSocket, signed webhooks and an MCP server for AI assistants.
0 likes · 0 views · Nov 22, 2026
Order management system in Rust that places, modifies and cancels orders across many broker accounts. 26 crates, about 8,000 tests, 16 broker adapters. I design