Roadmap Start learning
QD08AdvancedQuant DeveloperHard
Trading Systems Architecture
Limit order books, matching engines, market-data handlers, order management and pre-trade risk checks.
1.4 h of lessons~0 min of practice across 0 problems
Prerequisites not done
Lessons0 / 5 lessons
Mastery · target 80%0 / 0 solved
Completing the lessons finishes the module. Mastery also needs 80% of its problems solved.
What you will be able to do
- Implement a limit order book with price-time priority and the right complexity
- Describe a matching engine and its determinism requirements
- Design a market-data handler that recovers from gaps
- Explain order management states and pre-trade risk checks
- Reason about reliability and failover in a trading stack
Before you start
Prerequisites: this module uses their material directly.
Helpful but not essential.
Lessons
1.Limit Order BooksBuild a price-time priority book in C++: integer tick prices, a tick-indexed array of levels, FIFO queues per level, an order-id hash map for O(1) cancels, and tests.18m2.Matching EnginesMatch incoming orders against a book: partial fills, trade at the resting price, limit, market, IOC and FOK semantics, and why the engine must be deterministic and sequenced.18m3.Market-Data FeedsSnapshot versus incremental feeds, sequence numbers, A/B line arbitration, gap detection and recovery, building a book from a feed, and normalising venues into one format.16m4.Event-Driven ArchitectureEvent loops, a single-threaded hot path, lock-free queues between components, latency budgets and queueing under bursts, and deterministic replay for testing.17m5.Order Management and Risk ChecksThe order state machine and its races, acks, fills and cancels, pre-trade risk checks (size, worst-case position, price collars, rate limits) and kill switches.17m
Where this module fits
- Quant Developer: Required; recommended for Python Research Engineering