Skip to content
Edition NigeriaGlobal
Country: Mexico

You are in the Mexico edition. Type your country to switch.

The Americas

Set up your profile

You are learning in the Mexico edition, with examples in pesos and from Mexico.

Market microstructure · Lesson 1 of 6

How order books work

Most exchanges match buyers and sellers in a limit order book: resting orders queue by price and then by time, and incoming orders trade against them. Reading depth shows how much can trade before the price moves.

Advanced12 min read6 steps

This lesson is complete in writing. A video for it is on its way.

What you will learn

  • By the end you can read a limit order book and name the best bid, the best offer and the spread.
  • You can explain price-time priority and why your order may not fill when the price touches your limit.
  • You can work out the average price a market order pays as it walks through several price levels.
  • You can explain why displayed depth is a snapshot that can change in seconds.

Key terms in this lesson

Order book
The list of open buy and sell orders for a security at different prices.
Limit order
An instruction to buy or sell only at a specified price or better.
Spread
The difference between the bid and ask prices. A wider spread means a higher hidden cost to trade.
Resting order
A limit order that does not trade at once and waits in the order book for someone to trade against it.
Liquidity
How easily an asset can be turned into cash without moving its price much.
Market depth
The quantity of buy and sell orders waiting in the order book at each price away from the best bid and offer. Deep markets can absorb large orders with little price change.
Price-time priority
The usual matching rule in an order book: the best-priced orders trade first, and among orders at the same price, the earliest trades first.
Market order
An instruction to buy or sell straight away at the best available price.
Slippage
The difference between the price you expected for a trade and the price you actually got.
Spoofing
Placing orders you never intend to fill, to create a false impression of demand or supply, then cancelling them once the price moves.

Step 1 of 6

What an order book is

Opening this step…

Step 2 of 6

Who trades first: price-time priority

This step opens when you finish the one above.

Step 3 of 6

Walking the book: what a market order really pays

This step opens when you finish the one above.

Step 4 of 6

Reading depth, and what it cannot tell you

This step opens when you finish the one above.

Step 5 of 6

Size, urgency and the cost of trading

This step opens when you finish the one above.

Step 6 of 6

Good habits when using the book

This step opens when you finish the one above.

Key takeaways

The key takeaways open when you finish every step.

Lesson quiz

6 questions. You need 85% to pass.

The quiz opens when you finish every step.

Read first

Stockertim Learn is education. It explains how investing works and never recommends buying or selling anything.

Up next

Trading: risk, costs and processAuctions, opens and closesRead nowAuctions, opens and closesTrading: risk, costs and process · Advanced · 15 minTrading: risk, costs and processMakers, takers and exchange feesRead nowMakers, takers and exchange feesTrading: risk, costs and process · Advanced · 15 minTrading: risk, costs and processDark pools, venues and where ord…Read nowDark pools, venues and where orders goTrading: risk, costs and process · Advanced · 15 minTrading: risk, costs and processTick sizes and why they matterRead nowTick sizes and why they matterTrading: risk, costs and process · Advanced · 15 minStock marketBid, ask and spread explainedRead nowBid, ask and spread explainedStock market · Intermediate · 5 minTrading: risk, costs and processOrder types in full: stops, limi…Read nowOrder types in full: stops, limits, auctions and gapsTrading: risk, costs and process · Intermediate · 15 minTrading: risk, costs and processFast markets, halts and circuit …Read nowFast markets, halts and circuit breakersTrading: risk, costs and process · Advanced · 15 minTrading: risk, costs and processExecution and microstructure for…Read nowExecution and microstructure for algorithms: the order book, queues and latencyTrading: risk, costs and process · Advanced · 15 minTrading: risk, costs and processFX is quoted: pairs, base and qu…Read nowHow FX is quoted: pairs, base and quote currencies, bid and askTrading: risk, costs and process · Advanced · 15 minTrading: risk, costs and process2010: the Flash Crash and how li…Read now2010: the Flash Crash and how linked markets pass on a shockTrading: risk, costs and process · Advanced · 15 minTrading: risk, costs and processCross margin and isolated marginRead nowCross margin and isolated marginTrading: risk, costs and process · Advanced · 15 minTrading: risk, costs and processData hygiene for backtests: poin…Read nowData hygiene for backtests: point-in-time data, survivorship, look-ahead and corporate actionsTrading: risk, costs and process · Advanced · 15 min
English