Order Book Basics
An order book lists every resting order at every price, with the size behind each one. It is a precise picture of current supply and a poor forecast of anything.
An order book is the live list of outstanding buy and sell orders for an instrument, stacked by price. Bids run downward from the highest price a buyer will pay, asks run upward from the lowest a seller will accept, and the gap between the best of each is the spread. The size at each level shows how far price must travel to absorb a large order. It records what is resting now, not what will happen next.
What to remember
- The book prices your order before you send it. A 5,000-share buy against 800 at the best ask fills at an average 1.4 cents worse, roughly $70.
- Depth decides impact, not order size. The same order is free in a deep book and expensive in a thin one.
- Visible size is not all the size. Icebergs, dark venues and spoofed orders all mean the number on screen understates or overstates what is really there.
- Spot forex has no central order book, so platform depth is one broker aggregating its own providers, and chart volume is tick count rather than traded volume.
Lesson 9 of 16 in Orders and execution
Five levels deep on a $42 stock
An order book is the live list of outstanding buy and sell orders for one instrument, stacked by price level. It tells you what is resting in the market right now, on both sides, and how much of it there is. Reading one takes about thirty seconds once you have seen the layout.
Take a stock quoted 42.05 bid, 42.07 ask. Its book might look like this.
| Bid size | Bid | Ask | Ask size |
|---|---|---|---|
| 1,200 | 42.05 | 42.07 | 800 |
| 3,400 | 42.04 | 42.08 | 2,600 |
| 900 | 42.03 | 42.09 | 400 |
| 6,000 | 42.02 | 42.10 | 11,000 |
| 2,500 | 42.01 | 42.11 | 1,500 |
A market buy for 800 shares fills entirely at 42.07, because 800 shares are resting there. A market buy for 5,000 shares cannot. It takes the 800 at 42.07, then 2,600 at 42.08, then 400 at 42.09, and the last 1,200 at 42.10. The average fill works out at 42.084, which is 1.4 cents worse than the quote on screen, or about $70 on the whole order. Nothing went wrong. The book had already told you what the order would cost, and the only way to find that out without the book is to send the order and read the confirmation.
Bids, asks and the queue behind each price
- Bids are outstanding buy orders, listed from the highest price a buyer will pay downward.
- Asks, also called offers, are outstanding sell orders, listed from the lowest price a seller will accept upward.
- Size is the quantity available at each listed price.
The gap between the best bid and the best ask is the spread, 2 cents in the example above. When an incoming order crosses that gap and matches something resting on the other side, a trade prints and the resting order is reduced or removed. That is the entire matching mechanism.
Within a single price level, most venues fill in the order the orders arrived. So a limit order joining the 6,000 shares bid at 42.02 is behind 6,000 shares. If only 2,000 trade there before price leaves, you were never close to a fill. This is why a limit order at a busy round number is often a worse bet than one a cent inside it.
What a thin book does to a 5,000-share order
Depth is the total size waiting across the levels, and it decides how far price has to travel to absorb you. Put the same 5,000-share order against a book with 40,000 shares resting at 42.07 and it fills at 42.07 in full, at zero cost beyond the spread. The order did not change. The book did.
12 more sections in MarketPro
Finish this lesson in MarketPro
The rest of Order Book Basics, a quiz that checks it landed, and your place kept in the curriculum.
- 12 more sections of this lesson
- All 320 lessons, with no cap and no paywall
- Free on any account, including a free one
Same account as the app · No install · Free to start
Or scan with your phone camera to get the MarketPro app.
Free account, no card needed.
Not investment advice. Past performance is not indicative of future results.
Run the numbers while this is fresh
Work it through on your own position size. Nothing leaves your browser and there is no sign-up: Position size calculator, Margin calculator, Leverage calculator.
Order Book Basics: questions
What does market depth actually tell you?
Can you predict price direction from the order book?
Why does my forex platform show a different depth of market to someone else?
The whole academy is free in MarketPro
All 320 lessons, 12 guided paths, quizzes and a daily streak. Free on every account, in the app or your browser, with vetted free signals alongside it.
Same account as the app · No install · Free to start
Not investment advice. Past performance is not indicative of future results.