The matching engine is the part of an exchange people imagine when they think of trading. Orders arrive, prices are matched, trades happen. It sounds simple. The engineering behind it is anything but, because a matching engine has to be fast, correct and accountable at the same time.
From order to trade
In the OTS trade engine, OTX, the path runs through four stages. Participants enter orders through a web interface or mobile app. The order book engine maintains the book of buy and sell orders for each instrument. The order matching engine finds orders that can trade with each other and executes them. The supervisory engine watches the activity throughout.
Each stage has a single responsibility, which makes the whole easier to reason about, test and operate.
Supervision belongs inside the engine
A market has to be watched while it trades, not only reviewed afterwards. Building supervision into the engine means unusual activity can be seen as it happens, by the people responsible for the market’s integrity.
Why registry and corporate actions sit close to trading
Many engines stop at the trade and leave everything else to other systems. OTX includes a registry engine and corporate-actions processing. That matters because trading depends on accurate holdings and on events such as dividends or splits being applied correctly. Keeping them close to the engine reduces the gaps where records can fall out of step.
Every order and trade on record
An exchange must be able to explain any trade, sometimes years later. OTX keeps order and trade logs for everything that passes through it, and a monitoring agent watches the engine’s operation. Business intelligence on top of that data gives operators and management a view of how the market is behaving.
Connecting participants
Brokers and other systems connect through FIX and ISO standards, which most market participants already support. Executed trades then flow on to post-trade, clearing and back-office systems without being keyed in again.
Capacity in practical terms
OTX supports 1,000 concurrent users, each able to hold up to 1,000 simultaneous orders. When evaluating any engine, it is worth asking for capacity figures in this form, and for how they were measured, rather than relying on general statements about speed.
A matching engine has to be fast, correct and accountable at the same time.
The best matching engine is one that participants stop thinking about. It matches correctly, records everything and hands each trade cleanly to whatever comes next.
