Skip to content
Terminal Ledger Desk
Directory

Matching Engine Clob Colocation Ptp

FIFO Price-Time vs Pro-Rata Matching Algorithms: CME Split, LMM & TOP Mechanics

While equities and equity-index futures reward sub-microsecond queue entry via Price-Time FIFO, short-term interest-rate (SOFR) and options venues allocate fills via Pro-Rata size fractions, TOP overlays, and Split FIFO/Pro-Rata hybrids.

By Marcus Thorne, CQFReview not recorded
FIFO Price-Time vs Pro-Rata Matching Algorithms: CME Split, LMM & TOP Mechanics — Terminal Ledger Desk 2026 quantitative & supervisory data card
Terminal Ledger Desk (Deterministic Matching Engines, NY4/LD4/TY3 Colocation & PTPv2 Clock Sync): Deterministic uint128 multi-pass allocation waterfalls across FIFO, TOP, LMM, and Split Pro-Rata.Source: Terminal Ledger Desk Institutional Research DeskLicense: CC-BY-4.0

Not every Central Limit Order Book rewards the fastest trader to arrive at a price level. While cash equities (Nasdaq, NYSE, Cboe) and CME E-mini S&P 500 (ES) run pure Price-Time FIFO—where Order #1 must fill 100% before Order #2 receives a single lot—short-term interest-rate (STIR) futures like CME Three-Month SOFR (SR3) and multi-listed US equity options (Cboe, ISE, PHLX) run Pro-Rata and Split FIFO / Pro-Rata algorithms (CME Algorithm K, C, T, F). Under Pro-Rata, arriving 50 milliseconds late still captures 40% of an incoming sweep if you quote 40% of visible book size—fundamentally inverting execution strategy, over-quoting risk, and matching-engine CPU math!

Pure Price-Time FIFO (Algorithm F): Speed Races & Queue-Position Alpha#

In pure Price-Time FIFO (First-In, First-Out), every price level is an intrusive doubly-linked queue sorted strictly by exchange gateway arrival sequence. Matching an aggressive 500-lot sweep requires zero division instructions: the engine simply drains head orders sequentially until 500 lots fill.

Economically, FIFO incentivizes sub-microsecond latency competition at the exact tick when an old price level clears and a new tick opens—driving demand for FPGA cut-through pipelines inside CME Aurora. However, on ultra-thick 1-tick spread instruments (like 3-Month SOFR SR3 where 150,000+ contracts sit on the best bid for hours), pure FIFO paralyzes liquidity turnover because newcomers sitting behind 150,000 contracts have zero hope of filling without crossing the spread.

CME Split FIFO/Pro-Rata multi-pass allocation waterfall showing TOP pioneer slice, LMM slice, FIFO split, floor Pro-Rata, and residual FIFO
CME Split FIFO/Pro-Rata multi-pass allocation waterfall showing TOP pioneer slice, LMM slice, FIFO split, floor Pro-Rata, and residual FIFOVerified Exhibit

Pure Pro-Rata, TOP (Top Order), LMM & CME Split FIFO/Pro-Rata Pass Cascades#

To keep thick interest-rate and options books liquid, CME Globex and options exchanges execute multi-pass deterministic allocation cascades (MatchAlgorithm field in CME MDP 3.0 MDInstrumentDefinition):

  1. TOP (Top Order Priority Overlay): Before splitting lots proportionally, the single resting order that established the new Best Bid/Offer first receives 100% of its size up to a venue TOP_Cap (e.g., min(OrderQty, 200 lots)), rewarding price-improving pioneers!
  2. LMM (Lead Market Maker Allocation): Designated market makers meeting continuous two-sided quoting SLAs capture a fixed contractual percentage (e.g., 15%–40%) ahead of general Pro-Rata.
  3. Split FIFO + Pro-Rata (Algorithm K — e.g., 40% FIFO / 60% Pro-Rata): X% of the aggressor order fills FIFO from the queue head, and the remaining (100 - X)% distributes across all resting orders at that price via integer floor rounding: alloc_i = floor(RemQty * restingQty_i / TotalLevelQty).
  4. Residual Lot Pass (FIFO or Largest-Order): Fractional rounding remainders (1 lot per order) go sequentially by size-then-time until aggressorLeaves == 0!
Market / ProductCME / Venue CodeAllocation WaterfallPrimary Alpha / Execution Edge
US Equities & CME E-mini (ES, NQ)F (Pure FIFO)100% Price-Time ArrivalSub-microsecond Aurora / Carteret queue entry
CME 3-Month SOFR (SR3) & EurodollarK / C (Split / TOP+PR)TOP -> LMM -> FIFO% -> Pro-Rata -> ResidOptimal quote sizing + instant sweep cancel
CME US Treasury Futures (ZF, ZN)F or K (Contract-specific)Pure FIFO (ZN/ZB) or Split (ZT)Implied-spread + cash-futures basis speed
US Equity Options (Cboe, ISE, MIAX)Customer-Overlay PRPublic Customer FIFO -> PMM/LMM -> Pro-RataMass-Quote MMR protection + Volatility skew

Exchange Matching Algorithm Matrix Across Global Asset Classes#

Comparing venue-specific allocation waterfalls and resulting strategic equilibrium across US equities, CME futures, and US options.

Formula or model from the articleNot independently verified
Q_fifo_pass = floor( Q_agg * Pct_FIFO )
  • Qprrem = Qagg - Qtop - Qfifopass
  • AllocPR(i) = ( floor( (Qprrem * qi) / Qlevelrem ) >= 2 ) ? floor( (Qprrem * qi) / Qlevel_rem ) : 0
  • Qresiduallots = Qprrem - Sum{i=1..N}( AllocPR(i) )
  • Worked Split 40% FIFO / 60% Pro-Rata Fill (No TOP, Q_agg = 500 lots, Resting = [A: 1000, B: 2000, C: 2000]):
  • Pass 1 (40% FIFO = 200 lots) : Order A fills 200 lots -> Remaining resting: [A: 800, B: 2000, C: 2000] (Total = 4,800)
  • Pass 2 (60% PR = 300 lots) : A gets floor(300800/4800)=50; B gets floor(3002000/4800)=125; C gets 125 (Sum = 300, Residual = 0)
  • Final Total Fills : Order A = 250 lots (50%), Order B = 125 lots (25%), Order C = 125 lots (25%).

Fixed-Point 128-Bit Integer Division & Over-Quoting Risk Controls#

Inside a deterministic matching core (see our Deterministic Matching Engines & Colocation Guide), IEEE-754 floating-point math (double) is strictly forbidden for Pro-Rata splits because minor rounding differences between Intel and AMD FPU pipelines or compiler flags could cause primary and backup state machines to diverge by 1 lot! Instead, matching engines compute exact integer quotients using uint128_t ((__uint128_t)remQty * orderQty / totalLevelQty).

For trading desks, Pro-Rata creates a dangerous over-quoting trap: to win 100 lots of an expected 1,000-lot sweep on a 9,000-lot book, a trader quotes 1,000 lots (10% book share). What if a macro shock unleashes a 50,000-lot sweep that fills all 1,000 lots instantly—10x desired risk?! Institutional EMS gateways wire CFTC-mandated mass-cancel purges and size Pro-Rata tail exposure in the Terminal Margin VaR & ES Calculator.

Matching engine execution latency for a 200-order price-level sweep across Pure FIFO, TOP+FIFO, Split K, and Options Customer/LMM Pro-Rata
Matching engine execution latency for a 200-order price-level sweep across Pure FIFO, TOP+FIFO, Split K, and Options Customer/LMM Pro-RataVerified Exhibit

Minimum Pro-Rata Thresholds (MinLot = 2) & Tail-Split Gaming Prevention#

If CME rounded fractional Pro-Rata shares nearest (>= 0.5 -> 1), a trader could split 1,000 lots into 1,000 separate 1-lot orders to steal rounding residuals! Exchanges defeat order-splitting gaming via two strict rules:

  • Strict floor Truncation + Minimum 2-Lot Threshold: On CME Pro-Rata books, any computed floor share < 2 lots (0 or 1) receives zero lots during the Pro-Rata pass (MinAlloc = 2), deferring tiny quotes to the residual FIFO tail!
  • Size-Then-Time Residual Tie-Breaking: Residual lots allocate largest-resting-order-first, rewarding genuine size commitment on FIX API and iLink 3 sessions. Explore more order-book mechanics in the Matching Engine, Colocation & PTP Topic Hub.

Frequently asked questions

What is a TOP (Top Order Priority) overlay in CME Globex Pro-Rata matching?

When a trader places the very first order that improves the market to establish a brand-new Best Bid or Best Offer, CME stamps that order with Top Order status—guaranteeing it fills 100% (up to a contract-defined cap/min) before general Pro-Rata size splitting begins.

Does modifying order quantity upward lose TOP status or FIFO priority on Pro-Rata books?

Yes. Increasing order quantity cancels TOP pioneer status and resets the order timestamp to the tail of the FIFO residual queue, whereas decreasing order quantity preserves existing time priority (subject to minimum TOP size retention rules).

Why do US equity options exchanges prioritize Public Customer orders ahead of Pro-Rata market makers?

Under SEC-approved options exchange rules on Cboe, Nasdaq ISE/PHLX, and MIAX, non-professional Public Customer limit orders resting at the NBBO execute in Price-Time FIFO ahead of both Lead Market Maker participation guarantees and Pro-Rata professional quotes.

How do trading algorithms manage over-quoting risk on CME SOFR Pro-Rata books?

Algorithms monitor real-time cumulative sweep volume across correlated expiries via CME MDP 3.0 Feed A/B; the microsecond sweep volume crosses a preset threshold or adjacent contract ticks break, an iLink 3 OrderMassActionRequest (35=q) purges remaining inflated quotes.

Publication record

Published
14 November 2026
Updated
14 November 2026
Author
Marcus Thorne, CQF
Review
Review not recorded
Automated fact check
Passed in the stored pipeline record
Source URLs
3 recorded

AI assistance recorded: anthropic/claude-opus-4.6. This field does not establish human review or source verification.

Academic & Institutional Attribution

Cite This Research & Embed Live Data Card

Open Attribution License (CC BY 4.0)

Standard academic & institutional research paper citation format.

Marcus Thorne, CQF. (2026, November 14). FIFO Price-Time vs Pro-Rata Matching Algorithms: CME Split, LMM & TOP Mechanics. Terminal Ledger Desk. https://terminalledgerdesk.com/reports/fifo-price-time-vs-pro-rata-allocation-matching-algorithm-mechanics
Explore Matching Engine Clob Colocation Ptp Hub (20) →

Terminal Ledger Desk Data, Benchmarks & Contributor Records

FIFO Price-Time vs Pro-Rata Matching Algorithm Mechanics | Terminal Ledger Desk