Every Quant

Limit order book

Short answer

A limit order book is the list of all resting buy and sell orders for an asset at an exchange, organised by price and time. It shows the highest bid, the lowest ask and the depth of orders waiting at each price level.

Traders who place limit orders state a price and wait for someone to trade with them. These orders sit in the book until filled or cancelled. Traders who want immediate execution send market orders that take liquidity from the book, starting at the most favourable price. At each price, orders usually queue by arrival time, so an earlier order fills before a later order at the same price.

How it is used in strategy design and testing

In strategy design, the order book is the market maker's working space. Designers decide where to place quotes, how to manage queue position and when to cancel. They study book depth and the balance of buy and sell orders, which some research links to very short-term price moves. Larger traders use the book to plan executions that reduce market impact.

In testing, order book strategies need detailed data and careful simulation. Testers model queue position, the chance a resting order fills, and what happens to the book after their own orders arrive. Simple backtests that assume a fill whenever price touches a level overstate results, because many of those fills would not have happened or would have come just before adverse moves.

Common mistakes

  • Assuming fills at touch. A limit order at a price may not fill even when the price is reached.
  • Ignoring hidden orders. Not all liquidity is visible in the book.
  • Trusting displayed depth. Orders can be cancelled quickly, so visible depth can vanish.
  • Ignoring the strategy's own impact. Large orders change the book and other traders' behaviour.

Where the term comes from

Glosten modelled the open limit order book and asked whether it would come to dominate other trading systems, and Avellaneda and Stoikov studied quoting within such a book.

Education only. Not investment advice.

Questions people ask

What is a limit order book?

It is the list of resting buy and sell orders at an exchange, sorted by price and arrival time.

What is the difference between a limit order and a market order?

A limit order sets a price and waits in the book. A market order trades immediately against the most favourable available orders.

What is order book depth?

It is the quantity of orders resting at each price. Deeper books can absorb larger trades with less price movement.

Why does queue position matter?

At the same price, earlier orders usually fill earlier. A better queue position raises the chance of a fill.

Papers

Written and checked by the Every Quant research team · Updated . How we write and check entries: methods.