PROFESSIONAL TOPICS · MARKET MICROSTRUCTURE · 2 OF 5

Matching algorithms: FIFO and pro-rata

How exchanges decide which resting orders fill first, and why it matters.

RESEARCH METHOD~12–18 MINUTES

Understand it

When an incoming order meets several resting orders at the same price, the exchange's matching algorithm allocates the fill. First-in, first-out gives everything to the earliest orders; pro-rata splits by size; hybrids combine them.

The rules affect who gets filled on limit orders, how valuable queue position is, and whether large displayed orders are a real intention to trade.

WORKED EXAMPLE

Three buy orders rest at the same price: A arrived first with 10 contracts, then B with 50, then C with 40. A sell order for 60 arrives.

Under FIFO (first in, first out), time priority rules: A fills completely, then B, and C gets whatever is left. Most CME futures, including the equity index contracts, use FIFO.

Under pro-rata allocation, each resting order fills in proportion to its size, regardless of arrival time. Some interest rate products have used pro-rata or hybrid algorithms, which reward large resting orders.

Matching rules shape strategy: under FIFO, queue position is valuable, which is why high-frequency firms race to be first at a new price.

Resting order (in arrival order)SizeFIFO fillPro-rata fill
A10106
B505030
C40024

Watch for this misconception

Believing your limit order fills whenever price touches it. Under FIFO you fill only after everyone ahead of you in the queue.

PRACTICE EXERCISE

Look up the matching algorithm CME uses for one contract you trade.

Trading plan builder ↗
KNOWLEDGE CHECK

Under pro-rata matching, which resting order gets the largest share?

Select the best answer

Go deeper

Hypothetical educational examples on synthetic numbers. Verify current product specifications and rules before making decisions.