Definition
Matching Engine
The matching engine is the core exchange system that receives orders and matches buys against sells according to price-time priority, generating trades and updating the order book in real time.
On the NSE and BSE, the matching engine enforces price-time priority: the best-priced order trades first, and among equal prices the earliest gets precedence. Its speed and determinism are what latency-sensitive traders optimise around, and proximity to it via co-location is the source of the speed race.
The matching engine also enforces price bands, order validity (IOC, FOK), and disseminates the tick-by-tick feed. Its capacity and resilience are critical infrastructure; surveillance and risk systems sit around it to reject non-compliant orders before they match.
Related terms
- Co-locationCo-location is the practice of placing a trading member's servers physically inside or immediately adjacent to the exchange's data centre so that orders reach the matching engine with the lowest possible latency.
- Low LatencyLow latency refers to minimising the time delay between a market event and a trading system's response, measured in microseconds or nanoseconds for the fastest participants.
- Tick-by-Tick Data FeedA tick-by-tick (TBT) data feed broadcasts every order book event, additions, modifications, cancellations and trades, in real time, giving the most detailed live view of market microstructure.
- Limit OrderA limit order specifies the maximum price a buyer will pay or the minimum a seller will accept, executing only at that price or better and resting in the order book until it can be filled.
Plain-English explainer from The Dispatch Investors Encyclopedia. General information, not financial advice.