How a closing auction selects one execution price, why it can differ from the last continuous trade, and what a backtest must know before submitting an order.
Closing auction
A closing auction collects eligible buying and selling interest and matches it at a single price at the end of a trading session. It is a scheduled auction market mechanism: traders can seek execution against the same closing reference price, while accepting uncertainty about that price and how much of their order will execute.
The auction price and the last trade in continuous trading are different observations. An auction aggregates closing interest; a continuous trade reflects the orders that matched at its own instant. The two prices can coincide, but there is no general requirement that they do. Nor does every instrument's official closing value always come from an auction: fallback methods depend on the venue and instrument.
One price, several acceptable limits
Consider an original synthetic closing call for a fictional share. Prices are currency units per share, quantities are shares, and the only permitted candidate prices are 100, 101 and 102. All orders shown are eligible; there are no market orders, collars or other constraints. The stipulated rule selects the price that executes the largest number of shares. No tie-break is needed in this example.
Side
Quantity
Limit price
Sell
80
100
Sell
40
101
Buy
50
102
Buy
60
101
A buy limit order accepts its limit or a lower execution price; a sell limit accepts its limit or a higher execution price. At a candidate price p, let B(p) be the quantity willing to buy and S(p) the quantity willing to sell. The executable volume is
V(p)=min{B(p),S(p)}.
Candidate price
Willing buys
Willing sells
Matched shares
100
110
80
80
101
110
120
110
102
50
120
50
The unique maximum is 110 shares at 101. Every matched share trades at 101, including orders whose limits were 100 or 102. A limit expresses an acceptable price, not a demand to execute at that exact number.
Synthetic closing call: 80 sell shares at 100 and 40 at 101 meet 50 buy shares at 102 and 60 at 101. Candidate prices 100, 101 and 102 match 80, 110 and 50 shares respectively; 101 uniquely maximises volume.
Original synthetic closing call. Prices are currency units per share. The selected price is 101, with 110 shares matched and 10 willing sell shares unfilled; allocation among sellers requires a separate priority rule.
This is a frozen auction book, rather than a continuous order book waiting to match each arriving order immediately. At 101, there are 120 willing sell shares but only 110 willing buy shares. The volume calculation establishes the total fill; it does not decide which seller receives the shortfall. Real auctions add eligibility, allocation and price-selection rules.
An indication is still an indication
Before the auction completes, published quantities and indicative prices describe the interest included in a particular calculation at that time. Later eligible orders or permitted cancellations can change the outcome. An imbalance is neither a completed trade nor a guarantee of the final price.
The relevant operational clock belongs to the venue. For example, the NYSE auction timetable, checked on 26 October 2026, places its regular-session MOC/LOC entry cutoff at 3:50 p.m. Eastern Time and the start of the closing-auction process at 4:00 p.m. It allows certain significant-imbalance-offsetting orders after the cutoff and restricts cancellations. Other NYSE venues have different schedules. A broker's acceptance deadline also needs checking; the session's closing time alone is insufficient.
Nasdaq Rule 4754 provides a concrete price-selection example: maximise executed eligible interest, then apply specified tie-breaks and benchmark restrictions. It separately sets execution priority and makes the cross price the Nasdaq Official Closing Price for participating stocks. The rule also provides fallback treatment for certain exchange-traded products without a qualifying closing cross. These are venue rules, not extra assumptions hidden in the synthetic calculation above.
Trading at the close is a timing claim
A portfolio measured against a closing-price benchmark may use the auction to align its execution reference with that benchmark. That does not guarantee a full fill, eliminate fees or make the final price known in advance. Record the order's eligibility, arrival, permitted amendments, executed quantity and actual price.
For a backtest, the decisive question is what was known before the relevant order decision and deadline? An indicative auction price available then can be an input under an explicit timing model. The final auction price becomes observable only after it has been determined and disseminated; using it to create an earlier order that supposedly receives that same auction fill introduces look-ahead bias.
The SelfMadeQuant lesson Observation, Event and Availability Timestamps develops this causal ordering through signal, order and fill times. Its preview is public; the full lesson requires membership.
Sources
NYSE — Auctions: venue-specific schedules and auction-imbalance field definitions; checked 26 October 2026.
Ernest P. Chan, Quantitative Trading: How to Build Your Own Algorithmic Trading Business, Wiley, 2009, Chapter 3, p. 51, “Look-Ahead Bias”: information must have been available when a historical trade decision was made. The closing-call ledger is an original teaching construction.