Market StructureIntermediate

Order BookDOM

An order book is the live list of buy and sell limit orders waiting at each price on an exchange.

Behind every price on your screen is a queue of orders waiting to trade. Buyers line up at prices below the market, sellers at prices above, and the order book shows how many shares, contracts or coins wait at each level. Reading it tells you what trading right now will really cost, how much size the market can absorb, and where liquidity is thin. It also shows less than it seems: orders can be hidden, and displayed ones can vanish in an instant.

Category
Market Structure
Reading time
6 min
Also called
Depth of market, Market depth, Level 2
Updated

An order book in plain words

The order book has two sides. Bids are buy orders: “I will pay $49.99 for 2,200 shares.” Asks (or offers) are sell orders: “I will sell 2,000 shares at $50.01.” The highest bid and the lowest ask are the best prices, and the difference between them is the spread.1

Limit orders wait in the book; market orders trade against them. A market buy takes the cheapest asks first, and if it is bigger than what is offered at that price, the rest fills at the next prices.2

How to read an order book, step by step

  1. Find the best bid and ask

    The top of each side is the current market. The gap between them is the spread.

  2. Read the size at each level

    Each row shows a price and the total quantity waiting there. Compare it with the size you want to trade.

  3. Look at depth

    Add up several levels on each side. Deep books absorb large orders with little price change; thin books do not. See Liquidity.

  4. Note large orders

    Unusually large orders (“walls”) can slow price, but they can also be cancelled at any moment.

  5. Remember queue priority

    At the same price, orders placed earlier are usually filled first, so reaching your price does not guarantee a fill.2

  6. Watch it change

    The book updates constantly. A snapshot is far less useful than watching how orders appear, fill and disappear.

Worked examples

Example 1 — Reading the top of the book

Deep

Bids: 2,200 at $49.99, 2,800 at $49.98. Asks: 2,000 at $50.01, 3,000 at $50.02.

Example 1 — Reading the top of the book — calculation
Best bid / best ask$49.99 / $50.01
Spread$0.02
Mid price$50.00
Shares available within 2 cents above mid5,000

A buyer of up to 2,000 shares pays $50.01; up to 5,000 shares, at most $50.02. This is a deep, liquid book.

Example 2 — The same order in a thin book

Thin

Asks: 300 at $50.20, 400 at $50.35, 500 at $50.60. You buy 1,000 at market.

Example 2 — The same order in a thin book — calculation
Fills300 × $50.20 + 400 × $50.35 + 300 × $50.60
Average price$50.38
Cost above $50.00 mid$380

The order walked through three levels. The book showed this cost before you traded. See Slippage.

Example 3 — Waiting in the queue

Queue

You place a buy limit for 500 shares at $49.98, behind 2,800 shares already waiting at that price. Sellers then trade 2,000 shares at $49.98 before the price rises.

Example 3 — Waiting in the queue — calculation
Shares ahead of you2,800
Traded at your price2,000
Your fill0 shares

The price touched your limit, but the queue in front of you was not used up. That is queue priority in action.

Figure 1

A deep and a thin order book

The same market order in a liquid and an illiquid marketTwo order books for a stock whose mid price is $50. In the liquid book, 2,000 shares are offered at $50.01, so a 1,000-share market buy fills entirely at $50.01, costing about $10 more than the mid price. In the illiquid book only 300 shares are offered at $50.20, 400 at $50.35 and 500 at $50.60, so the same order fills at three prices for an average of $50.38 — about $380 more than the mid price.Liquid markettight spread, deep bookASKS (sellers)$50.032,500$50.023,000$50.012,000spread $0.02BIDS (buyers)$49.992,200$49.982,800$49.973,000Buy 1,000 at market: avg $50.01≈ $10 above the $50.00 mid priceIlliquid marketwide spread, thin bookASKS (sellers)$50.60500$50.35400$50.20300spread $0.40BIDS (buyers)$49.80250$49.60400$49.40350Buy 1,000 at market: avg $50.38≈ $380 above the $50.00 mid price
Bars show the size bid and offered at each price. The same 1,000-share market buy fills at one price in the deep book and at three in the thin one.

Level 1 vs. Level 2 data

AspectLevel 1Level 2 (depth)
ShowsBest bid, best ask, last tradeSeveral price levels on each side
SizeAt the best prices onlyAt each level
Useful forQuick quotesJudging depth and the cost of larger orders
AvailabilityStandard on most platformsOften a paid add-on for stocks; standard on crypto exchanges

Why traders read the order book

  • Estimating trading costs

    Depth shows how much a market order will move the price before you send it. See Market Order.

  • Placing limit orders

    Seeing the queue helps choose a limit price with a realistic chance of filling. See Limit Order.

  • Spotting thin markets

    Gaps between levels warn that price can jump with little volume.

  • Order-flow analysis

    Some short-term traders read changes in the book and the stream of trades. See Order Flow and Time and Sales.

Advantages and disadvantages

Advantages

  • Shows real-time supply and demand at each price.
  • Lets you estimate slippage before trading.
  • Reveals liquidity that a price chart cannot.

Disadvantages

  • Displayed orders can be cancelled instantly; depth can vanish when you need it.
  • Hidden and iceberg orders mean the book shows only part of the liquidity.
  • In stocks, each venue has its own book; one screen may not show them all.
  • Large displayed orders can be used to mislead, which is illegal manipulation in regulated markets. See Spoofing, Layering and Wash Trading.

Going deeper

Read as far as you need. Each level builds on the one before it.

Only limit orders rest in the book

Beginner

Market orders execute immediately against the book and never appear in it. Everything you see waiting in the book is a limit order.

Hidden size and icebergs

Intermediate

Some orders show only part of their size; when that part fills, more appears. These iceberg orders, and fully hidden orders on some venues, mean the true depth can be larger than displayed. Repeated fills at one price without the displayed size shrinking can be a clue.

Fragmentation and imbalance

Advanced

US stocks trade on many exchanges and alternative venues, each with its own book; consolidated Level 2 combines them. Crypto assets trade on many exchanges with separate books and different depth.

Order-book imbalance — more size on one side than the other — is sometimes read as short-term pressure, but it is easily distorted by orders that are placed and cancelled. See Order Book Imbalance.

Common mistakes

  1. Trusting walls

    Large displayed orders can disappear just before price reaches them.

  2. Ignoring depth when sizing

    Check how many levels your order would consume before sending it at market.

  3. Assuming a touch means a fill

    With queue priority, your limit can be touched without filling.

  4. Reading one venue as the whole market

    Stocks and crypto trade on many venues; a single book is only part of the picture.

Check your understanding

Test yourself before moving on. Each answer comes with an explanation.

Q1Best bid $10.00 for 500; best ask $10.04 for 300; next ask $10.06 for 1,000. You buy 600 at market. What is your average price?
Q2Why might your limit order not fill even though the price touched it?

Key points to remember

  1. An order book lists resting buy (bid) and sell (ask) limit orders at each price.
  2. The best bid and ask set the market; the gap between them is the spread.
  3. Depth shows how much a market order will move the price.
  4. At each price, earlier orders usually fill first.
  5. Displayed depth can be incomplete or disappear — treat it as a guide.

Frequently asked questions

What is the difference between the order book and the depth chart?

They show the same data. The order book lists each price and size; the depth chart plots the cumulative size on each side as a curve, so you can see how much the price would move for a given order.

Are large orders in the book real?

Some are, some are cancelled before they trade. In regulated markets, placing orders you intend to cancel to mislead others is illegal spoofing, but it can still happen, especially on less regulated venues.

Do I need Level 2 data?

Not for longer-term trading in liquid assets. It is most useful for short-term traders and for anyone trading larger sizes or less liquid assets.

Further learning

Sources

This article is written in our own words. The sources below support the specific facts, rules and figures marked with a number in the text. Links open the original publisher’s page.

  1. Investor.gov (SEC). Bid Price/Ask Price (glossary) (opens in a new tab) Checked .
  2. Investor.gov (SEC). Understanding Order Types – Investor Bulletin (opens in a new tab) Checked .

Read more elsewhere

Educational content, not financial advice. Examples use hypothetical prices and simplified costs; actual fees, margin rules and regulations vary by broker, market and country. We are not affiliated with any publisher linked above. Last reviewed . Report an error or request a source credit.