ECN Matching Engine Flow
How an ECN order book receives, prioritizes, and matches buy and sell orders from multiple participants.
How to Read This Diagram
An ECN operates a central limit order book (CLOB) where multiple participants submit buy and sell orders. Unlike broker-client execution, the ECN itself is not a counterparty -- it simply matches buyers with sellers at the best available price.
Orders enter the book anonymously: participants cannot see who placed which order, only the price and size. The Matching Engine continuously scans for crossing orders (where a buy price meets or exceeds a sell price) and executes them according to the venue's priority rules.
Matching Priority Rules
- Price priority: The best price always matches first. A buyer offering 1.0852 gets matched before a buyer at 1.0851.
- Time priority: Among orders at the same price, the earliest order gets filled first (FIFO).
- Size priority (some venues): Certain ECNs give preference to larger orders at the same price, incentivizing liquidity provision.
Anonymity and Pre-Trade Transparency
ECN anonymity means participants cannot identify counterparties before or during execution. This prevents information leakage and predatory trading strategies that target specific participants. Post-trade, clearing arrangements may reveal counterparties to the prime broker, but the execution itself is blind.
Pre-trade transparency varies by venue: fully transparent ECNs show the entire order book depth; semi-transparent venues show only top-of-book; dark pools show no pre-trade information and match internally.
Clearing and Settlement
After matching, trades must be settled. In FX, this typically happens via prime broker arrangements where the ECN novates the trade to each participant's prime broker. For smaller participants accessing through a PoP (Prime of Prime), the PoP's prime broker handles the credit side. Settlement is typically T+2 for spot FX, though most retail-facing positions are rolled and never reach physical settlement.
Related Atlas Entries
Educational content only. This is not financial advice. Always consult qualified professionals before making trading decisions.