Picture a bid at 50.00 showing 40,000 shares. You add a limit buy at that same price, then watch the prints roll by. Trades go off, the tape ticks, and the displayed size barely moves. Your order still hasn’t filled. Nothing is broken. You’re standing behind everyone who reached that price before you, and the book has no obligation to tell you where you stand. That gap between what the screen displays and where your order actually sits in line is what queue priority describes: the exchange rule and the resulting order position that decide which resting orders at the same price get to execute first.
TaB already walks through the visible limit order book. This piece goes one layer down, to the matching logic underneath each price you see, because aggregate depth and a best quote cannot describe an individual order’s execution prospects on their own.
What the book shows, and what it hides
The displayed size at a price is a total. A level printing 40,000 shares could be one institutional order or two hundred small ones. The book collapses them into a single number and moves on. Level 2 data gives you depth per price, the sum resting at each bid and each ask, which is genuinely useful for reading where interest clusters. It does not rank the orders inside a level, and it does not tag which one is yours.
So the first thing to accept is that depth is a total, not a line-by-line ledger. When I size up a level, I read that 40,000 as how much wants to trade here, never as how close I am to trading. The number describes the crowd. It says nothing about my seat in it.
Price-time priority: the common default
Most equity venues run price-time priority, often called FIFO. Two rules stack on top of each other. First, a better price wins: a buy order at 50.01 executes ahead of one at 50.00 because it improves the bid, which is also why crossing the bid-ask spread jumps an order straight to the front of the fill. Second, among orders resting at the same price, the earlier eligible order goes first. Post at 50.00 at 09:31, and you fill ahead of a 50.00 order that arrived at 09:32, assuming the venue is running plain price-time.
One detail catches people out inside price-time itself. On most books, amending an order to a worse price, or increasing its size, sends it to the back of the queue as if it were brand new, while shrinking the size usually keeps your place. So a trader who keeps nudging an order to chase the market can quietly surrender the priority they waited to earn. The clock that counts is the timestamp of your order’s current terms, not the moment you first showed up.
That framework is common, and it is far from universal. Read it as the default you’ll meet on many stock exchanges rather than a rule the whole market obeys. The moment you assume every venue works this way, you’re one surprise away from a fill that behaves nothing like you expected.
How queue priority shifts as orders come and go
Say you join a bid at 50.00 with 25,000 shares already ahead of you. Four things can change that position. A trade at 50.00 consumes the front of the queue, so 6,000 shares trading moves you to roughly 19,000 back. A cancellation ahead of you also shortens the line, and this one is invisible: if 8,000 shares cancel, you jump forward without a single print crossing the tape. New orders join behind you, which neither helps nor hurts your rank. And if the best bid climbs to 50.01, the whole 50.00 queue is suddenly one tick off the action, and your careful position may not matter until price returns.
Partial fills complicate the picture too. If 4,000 of the 6,000 shares that trade come from the order right ahead of you, and that order had 5,000 resting, it stays in front with 1,000 left and you’re still behind it. The line advances in uneven steps, order by order, rather than as one smooth countdown. Two sessions with the same volume through your level can leave you in very different places depending on how that volume was split.
The misread to avoid is treating a shrinking displayed size at your level as proof you’re closer to the front. Some of that drop can be new orders replacing cancelled ones behind you, or a level that was partly cancelled and partly re-added in the same breath. Watching the aggregate tick down tells you the level is churning. It does not confirm your rank improved. That churn is the same force behind order flow imbalance, where the rate of adds and cancels on each side hints at pressure the top-line quote keeps hidden.
When price-time isn’t the rule
Treating price-time as a law of nature is how traders get caught out. Several venue designs allocate fills on a different basis. Many futures markets use pro-rata: a fill at a price splits across the resting orders in proportion to their size, so a 100-lot and a 10-lot both take a slice regardless of who arrived first. On a pro-rata book, what matters is how much you post, not when you posted it. Some venues blend the two, handing a time-priority bonus to the first order and splitting the rest pro-rata.
Even the blends carry their own quirks. A common design gives the first order to establish a new best price a guaranteed minimum slice, then runs pro-rata on the remainder, so being first still buys something, just never everything. The point holds across all of them: the allocation rule is a venue choice, and it decides whether your timestamp or your size is the asset worth having at that price.
The layout changes again at the open and close. Opening and closing auctions ignore continuous queue position entirely and match everything at a single clearing price, and a similar reset follows once a trading halt or a limit band pauses the book. Hidden and reserve orders add another wrinkle: icebergs sit in the book without displaying their full size, so real depth at a price can exceed what you see. On top of all this, individual venues layer their own tie-breaks and carve-outs.
The trap here is assuming FIFO everywhere. I keep a note on each venue I trade, because on a price-time book a 09:31 order beats a 09:32 order at the same price, and on a pro-rata book that same head start counts for nothing. A trader who queues in early on a pro-rata futures market, expecting to be first in line, instead watches a larger order posted later take a bigger share of every fill.
Depth is not fill probability
Put the pieces together and a plain caution follows. A quote at the best price tells you two facts: the best available price, and the aggregate size resting there. It does not reveal your position in line, whether hidden size is stacked behind the display, or whether the orders ahead of you will cancel before they ever trade. Depth and fill probability are separate quantities that happen to sit next to each other on the screen. A thick bid can evaporate through cancellations in seconds, and a thin one can absorb far more than it shows if reserve orders keep refilling it.
Long before electronic books, tape readers like Jesse Livermore watched where large orders sat and got absorbed, inferring supply and demand from how the tape behaved around a price. The modern queue is that same puzzle in faster, more concealed form. The screen throws more numbers at you and tells you less about any single order’s fate.
What public data can and can’t tell you
Level 1 feeds show the best bid and ask with their sizes. Level 2 shows aggregate depth at each price level. Neither one shows your rank within a level, the hidden portion of an iceberg, or the constant cancel-and-replace churn that reshuffles the line between two snapshots. Matching-engine rules, tie-breaks, and priority carve-outs vary by venue and change over time.
So even with the quote sitting right in front of you, any estimate of queue position carries real uncertainty. Anyone modelling fills from public data is working with a partial picture: cancellations they never saw, order types the feed doesn’t flag, and matching details the venue doesn’t publish in full. The honest version of that model states the uncertainty out loud rather than pretending the book is complete.
Reading the book with the queue in mind
The screen is honest about price and aggregate size. It stays quiet on the one thing you often want most, which is where your order sits and whether it will trade at all. Treat displayed depth as context about interest at a level, and confirm what matching rule your venue actually runs before you assume that early means first. That single habit is what separates a useful read of the book from a false sense of certainty.
Learn the pattern. Ride the trend. Keep the gains.
Educational content only. Not investment advice. Trading involves risk. You are responsible for your decisions.
Get the free Market Wisdom e-book
Join Trends and Breakouts — historical winners, breakout studies, and risk lessons. No spam, unsubscribe anytime.
