Stocks

Limit-Order Queue Priority: Why a Touched Price May Not Fill

8 min read

Last saved:

এই লেখাটি বাংলায় পড়ুন

Limit-Order Queue Priority: Why a Touched Price May Not Fill

Executive Summary

  • ✦A touched limit price does not guarantee a fill because orders with better price or earlier priority can execute first.
  • ✦Displayed depth is only an estimate of visible competition; routing, hidden liquidity and cancellations obscure exact queue position.
  • ✦Partial fills create real exposure, while passive fills can suffer adverse selection when informed flow moves price afterwards.
  • ✦Backtests should use conservative touch-fill assumptions and compare simulated fill rates with controlled live records.

Limit-Order Queue Priority: Why a Touched Price May Not Fill

বাংলায় পড়ুন

Evergreen trading tutorial: This guide explains exchange queue mechanics with simplified hypothetical examples. Venue rules and broker routing differ. It is educational information, not personalised advice or a recommendation to use a particular order type.

A chart can trade at a limit price without filling every order resting there. Other orders may already be ahead in the queue, the visible trade may occur on another venue, or the available volume may be smaller than the displayed demand.

This matters because a backtest that treats every touched limit as filled can create trades that were never executable. A realistic plan needs both a price condition and a fill assumption.

Learning objective

By the end of this guide, you should be able to:

  • explain price priority and time priority;
  • estimate how volume ahead affects a limit order;
  • distinguish displayed depth from an actual queue position;
  • recognise partial-fill and adverse-selection risk; and
  • design conservative fill rules for journals and backtests.

Price priority comes first

A buy limit at £20.01 is normally more aggressive than a buy limit at £20.00 because it offers a higher price. When a seller arrives, the better-priced eligible bid generally executes first.

For sell limits, the lower eligible offer has price priority. An order at £20.02 normally executes before one at £20.03.

A marketable limit crosses the spread and can execute immediately up to its price cap. A passive limit rests in the book and waits for opposing flow.

Our market, limit and stop order guide explains the price-control trade-off.

Time priority within one price

Many venues use price-time priority: at the same price, an earlier accepted order is ahead of a later one. If 6,000 shares are genuinely ahead of a new bid, incoming sell orders generally need to execute or remove that quantity before the new order begins to fill.

Not every market uses identical allocation. Some derivatives venues use pro-rata or hybrid rules, and hidden or reserve orders can have special priority. Always check the relevant venue specification rather than assuming one universal queue.

Worked hypothetical queue example

Suppose the best bid is £20.00, with 6,000 displayed shares ahead of a trader. The trader submits a passive buy limit for 400 shares at £20.00.

Assume, for this simplified example:

  • all 6,000 shares are on the same venue and truly ahead;
  • no order ahead cancels;
  • no hidden liquidity changes the allocation; and
  • eligible market sell orders execute 7,000 shares at £20.00.

The first 6,000 shares consume the queue ahead. The trader's 400 shares then fill, leaving 600 shares of opposing volume for orders behind.

If only 6,150 eligible shares execute, the trader receives a 150-share partial fill and 250 shares remain working.

If the chart merely prints £20.00 for 1,000 shares, the trader receives no fill under these assumptions because the queue ahead was not depleted.

Why displayed depth is not your exact queue position

Level 2 or depth-of-market data is useful, but it has limits:

  • the broker may route to a different venue;
  • some orders are hidden or use reserve quantity;
  • cancellations ahead can improve position;
  • new orders at the same price may have different priority rules;
  • feeds can be delayed or aggregated;
  • odd lots or special order types may display differently; and
  • a consolidated trade print may not identify the queue that executed.

Displayed size at the time of submission is therefore an estimate of visible competition, not a guaranteed number of shares ahead.

The fill-versus-price trade-off

A passive order can avoid crossing the spread and may earn a maker rebate where applicable. The cost is uncertainty: price may move away without a fill.

A marketable order increases execution probability but pays the spread and can experience slippage. Neither choice is automatically superior. The decision depends on urgency, expected signal decay, liquidity and the value of completing the trade.

Our signal-decay guide explains why waiting can consume an edge.

Adverse selection

A passive buy often fills when sellers become more aggressive. Sometimes that flow contains information, and price continues lower immediately after the fill. A passive sell can fill just before price rises.

This is adverse selection: the order fills disproportionately when the next movement is unfavourable. “Bought at the bid” is not automatically a free spread saving if the post-fill price moves against the trade.

Measure the price shortly after each fill—such as one minute or one bar later—using a horizon appropriate to the strategy. Compare filled orders with missed orders. A high fill rate accompanied by poor post-fill movement may reveal that the limit price is attracting toxic flow.

Partial-fill risk

A 1,000-share order that fills 200 shares creates a real 200-share position. The remaining 800 may fill later, remain open or be cancelled. Risk calculations must use the actual position plus the working remainder.

If the trader chases the rest with a market order, the average price includes both fills and all costs. If the trader leaves the remainder, exposure can grow unexpectedly after conditions change.

A clear policy should define:

  • minimum useful fill;
  • maximum waiting time;
  • whether partial fills are kept or closed;
  • whether the remainder is repriced;
  • maximum price concession; and
  • how linked stops and targets resize.

Step-by-step limit-order test

1. Identify the venue and matching rule

Record whether allocation is price-time, pro-rata or hybrid. Include hidden-order and auction rules where relevant.

2. Store submission and acknowledgement times

Queue priority begins when the venue accepts the order, not when the trader clicks. Network and broker delay matter.

3. Record price and visible depth

Capture best bid, best ask, spread and displayed size when the order is acknowledged. Do not infer the exact queue from a later screenshot.

4. Track eligible opposing flow

Use venue-level data where available. Consolidated volume across all markets may exaggerate the flow that could fill one routed order.

5. Handle cancellations conservatively

Cancellations ahead improve position, but basic data often cannot identify where in the queue they occurred. Use a range rather than a precise claim.

6. Model partial fills

Apply commission, spread, slippage and risk to the quantity actually executed. Keep the remainder's state explicit.

7. Measure post-fill movement

Compare arrival price, fill price and later midpoint to quantify execution quality and adverse selection. The implementation-shortfall guide provides a broader framework.

8. Validate with live records

Paper trading and bar data rarely reproduce queue behaviour accurately. Compare simulated fills with small, controlled live observations before trusting the model.

Conservative backtest rules

With only OHLC bars, fill certainty is limited. A low touching a buy limit proves price reached or passed the level, but not that the order filled before bouncing.

Conservative choices include:

  • requiring price to trade through the limit by a defined amount;
  • assuming a fill only on the next bar after the touch;
  • applying a probability based on independently measured live fills;
  • assigning partial rather than full size; or
  • excluding strategies whose result depends on perfect touch fills.

Each method has drawbacks. The rule should be set before evaluating performance and stress-tested with worse assumptions.

Common mistakes

  1. Treating every touched limit as filled. Volume ahead may remain.
  2. Using total market volume for one venue's queue. Not all prints were eligible.
  3. Assuming displayed size equals exact queue position. Hidden orders and routing interfere.
  4. Ignoring acknowledgement latency. The order may join later than the click time.
  5. Counting a partial fill as the full planned trade. Exposure and average price differ.
  6. Calling spread capture free profit. Adverse selection can exceed the saved spread.
  7. Repricing repeatedly without measuring cost. Cancel-replace can lose priority.
  8. Leaving the remainder active accidentally. It can fill after the original setup changes.
  9. Using one matching rule for every venue. Allocation methods differ.
  10. Validating only with paper fills. Simulators may be optimistic.

Practical checklist

  • Venue and matching algorithm are known.
  • Submission and venue acknowledgement times are stored.
  • Best bid, ask, spread and visible depth are recorded.
  • Routed venue is distinguished from consolidated prints.
  • Queue estimates allow for hidden liquidity and cancellations.
  • Partial fills and remaining quantity are tracked separately.
  • Cancel-replace effects on priority are understood.
  • Maximum waiting time and price concession are predefined.
  • Stops and targets resize to actual filled quantity.
  • Post-fill movement and adverse selection are measured.
  • Backtests use conservative touch-fill assumptions.
  • Simulated fill rates are compared with controlled live records.

The Money Man View

A limit price controls the worst execution price; it does not reserve an immediate trade. Queue position, venue rules and opposing flow determine whether the order fills. Treat fill probability as part of the strategy, measure partial and missed orders, and reject backtests that depend on perfect execution at every touched price.

Educational risk disclosure: Orders can remain unfilled, fill partially or execute as market conditions change. Market-data feeds may not reveal exact queue position, and venue rules differ. The examples are simplified and do not guarantee execution quality. This article was prepared with AI-assisted research and writing under The Money Man editorial process.

Share this post