The core component that receives orders and matches them against each other according to a venue’s rules. QuantReplay’s matching engine emulates exchange-grade behavior — including price-time, pro-rata, and custom matching rules — so tests reflect how a real venue would actually respond.