Module 06 of 7

Interview Prep: A Stock Exchange Matching Engine

10 lessons · 27 min

Start with lesson 36

About this module

Design the matching engine where buyers and sellers become trades: price-time priority, FIX sessions and client order IDs, a sequencer and a journal, a single-threaded engine per stock, deterministic replay and a standby, the opening auction, and the safety rails that keep a market fair.