matching engine
termKept in this browser · My desk
The software at the core of an electronic exchange that keeps the book of resting orders and executes each incoming order against it automatically, by fixed priority rules.
It took over the job of the specialist and the trading crowd. Most engines rank orders by price and then by time of arrival, so the moment an order reaches the engine matters; some futures products use pro-rata allocation instead. Response times fell from the three seconds promised when the Chicago Mercantile Exchange (CME) launched Globex in 1992 to 0.16 seconds in 2002, below 1 millisecond at some United States exchanges by 2010, and about 350 microseconds at Brazil's B3 in 2025.
What it does. The engine holds a central limit order book and, for each new order that can trade, decides which resting orders it fills, in what quantity and at what price. The United States Commodity Futures Trading Commission (CFTC) described the engine of Brazil's Bolsa de Mercadorias e Futuros (BM&F) in 2008: orders reach a Trading Engine in São Paulo, are matched by price/time priority, and are timed on arrival at the engine; credit and size filters set by trading members reject orders before they reach it. Where it sits. The European Union's clock standard, RTS 25, measures a venue's gateway-to-gateway latency from the outer gateway, through the order submission protocol and the matching engine, back to the acknowledgement, and sets tighter clock accuracy for venues whose latency is 1 millisecond or less. How fast. CME promised three-second responses for Globex in 1992 and reported a match-engine round trip of 0.16 seconds by March 2002; the Securities and Exchange Commission (SEC) cited averages of 320 and 294 microseconds at two US exchanges in 2010; B3 reported about 350 microseconds in April 2025, down from 1.2 milliseconds in 2023, with a target below 300 microseconds by 2026. Why distance matters. Because time breaks ties at a price, firms pay to place servers close to the engine, the service exchanges sell as colocation.
Also known as: trading engine, match engine, order matching engine, motor de casamento de ofertas, motor de negociação
Sources
- CFTC Letter No. 08-18 to BM&F Bovespa, 26 September 2008 (read 2026-11-15): BM&F's Trading Engine in São Paulo; orders matched by price/time priority; order time is arrival at the engine; pre-trade filters keep orders out of the matching engine
- Commission Delegated Regulation (EU) 2017/574 (RTS 25), 7 June 2016 (read 2026-11-15): gateway-to-gateway latency measured through the order submission protocol and the matching engine
- CME, 10th anniversary of GLOBEX, 25 June 2002, Mondo Visione repost (read 2026-11-15): three-second response promised in 1992; match engine round trip 1.2 s (early 2001), 0.45 s (end 2001), 0.16 s (31 March 2002)
- SEC, Concept Release on Equity Market Structure, Federal Register, 21 January 2010 (read 2026-11-15): exchange response times below 1 ms (BATS 320 µs, Nasdaq 294 µs); co-location close to the matching engine
- B3, B3 moderniza plataformas e reduz em 70% tempo de conclusão dos negócios, 4 April 2025 (read 2026-11-15): latency from 1.2 ms (2023) to about 350 µs; target below 300 µs by 2026
- CME Group, Supported Matching Algorithms, client systems wiki (read 2026-11-15 through a fetch tool): FIFO, pro-rata, allocation and other algorithms