Skip to content
Wildflower
Join free
Execution

Free Trading School · Level 7 · Course 7.3

The queue at a price

Lesson 1 of 9 in ExecutionModule 1: How orders are queued

Advanced · Execution

The queue at a price

Wildflower Trading School · Lesson 7.3.1.1

Wildflower

Welcome to Execution: what happens between deciding to trade and actually being in the trade. In How markets work, you saw that orders at the same price wait in a line. By the end of this lesson, you'll know the two ways that line shrinks while you wait. You'll be able to estimate your place in it from the order book. And you'll see why the fills you get at the back of a long line aren't a fair sample of your trades.

1 of 8

What you'll learn

  • Know who fills first. At one price, orders fill in the order they arrived.
  • Guard your place in line. A new price or more contracts sends your order to the back.
  • Track how the line shrinks. Trades come off the front. Cancellations can be anywhere.
  • Estimate your place as a range. The order book shows totals, never your place.
  • Spot fills from the back. These fills often come on trades that then move against you.

Exercise

  1. If your platform has a ladder, pick one price just below the market and write down how many contracts wait there.
  2. Watch for five minutes: count how many trade at that price and note how the total changes.
  3. Work out the best and worst place a new order at the back would have reached.

Next: Why limit orders sometimes don't fill.

Quick check

  1. 1. Contracts trade at your price while you wait in the line. Where do they come off?

  2. 2. The total at your price drops by 5 with no trades. What do you know?

  3. 3. Why do fills from the back of a long line lean towards trades that keep going against you?

0 of 3 answered.

Finished this lesson?

Tick it off and keep your place

Make a free account and we'll remember where you are, so “Why limit orders sometimes don't fill” is waiting next time.

Read the full notes

At one price, orders fill in the order they arrived; the line shrinks when contracts trade (always from the front) and when orders are cancelled (anywhere), so your place is an estimate, and fills from the back lean towards trades that keep going against you.

  • On , stock index futures such as the use : best price first, then earliest first. Some other CME products use instead; CME publishes which rule each product uses. Refresher: How orders are matched.
  • Changing a 's price or adding contracts sends it to the back of the ; making it smaller usually keeps its place. See Partial fills and queue position.
  • The line shrinks two ways. Trades always come off the front. Cancellations can come from anywhere. New orders always join behind you.
  • The shows only the total at each price, never your place. tells you how much traded; drops in the total with no trades are cancellations, and you can't tell whether they were ahead of you or behind. So your place is a range. More: The order book and depth of market.
  • Made-up: join with 30 ahead. 12 trade (at most 18 ahead). 8 join behind, then 6 cancel with no trades. Ahead of you now: 12 to 18.
  • Near the front, a light touch fills you. At the back, only heavy selling at your price reaches you, and heavy selling is what pushes price through a level. So fills from the back lean towards trades that keep going against you.

Worked example

Made-up numbers

Estimating your place in the line

Made-up numbers · buy limit for 2 Micro S&P 500 contracts at 4,990 · 30 contracts ahead when you join

  1. 12 contracts trade at 4,990. Trades come off the front, so at most 18 are ahead.
  2. The total grows from 20 to 28: 8 contracts join, always behind you.
  3. The total drops to 22 with no trades: 6 contracts were cancelled, ahead or behind.

Ahead of you now: somewhere from 12 (all 6 were ahead) to 18 (all 6 were behind).

Your turn

Drill

Made-up numbers: 40 contracts ahead when you join. 25 trade at your price. Then 9 are cancelled, and all 9 were ahead of you.

Trading is risky. You can lose money. This lesson explains how order queues work. It isn't advice.