matching engine

term

programmingnetworking

Kept 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

← Back to M Back to the glossary