Order book
An order book is the list of all buy and sell orders waiting to be executed for an instrument on a trading venue, sorted by price and then by time of entry. The highest buy price and the lowest sell price are the best bid and the best offer; a trade occurs when they meet.
What it is
An order book is the record, held by a trading venue, of the buy and sell orders that have been entered for an instrument and are not yet executed. Buy orders form the bid side and sell orders the offer side. Each order states a quantity and, for a limit order, a price limit.
A matching engine pairs orders as they arrive. Better prices go first: the highest bid and the lowest offer rank at the top. Orders at the same price rank by time of entry, the earliest first. This is price-time priority, the most common ranking rule, though a venue may use another.
The parts of the book are:
- The best bid, the highest price a buyer has offered.
- The best offer, the lowest price a seller has asked.
- The depth, the quantity waiting at each price level.
- The spread, the gap between best bid and best offer.
A limit order that cannot execute at once rests in the book until it trades or is cancelled. A market order takes the best prices available and executes at once.
The European Securities and Markets Authority (ESMA) publishes the markets in financial instruments rule text in its interactive rulebook. Under Article 3, venues make public the bid and offer prices advertised through their systems and the depth of trading interest at those prices for shares and similar instruments. ESMA’s text lists order-book, quote-driven, hybrid and periodic auction trading systems. For bonds, structured finance products and emission allowances, Article 8 applies where a central limit order book or a periodic auction system is used.
Why it matters
The order book is where a market price is formed from the orders of many participants. Everyone who sees it knows what can be bought or sold, in what size and at what price.
The depth shows how large an order the market can absorb. A trader who needs to execute a large quantity reads the book to estimate the price paid.
Worked example
Illustrative numbers. The tick size is 0.01.
- Bids: 100 shares at 9.98, then 200 shares at 9.97.
- Offers: 150 shares at 10.00, then 300 shares at 10.01.
The best bid is 9.98 and the best offer is 10.00, so the spread is 0.02.
A market order to buy 200 shares takes 150 at 10.00 (cost 1,500.00) and 50 at 10.01 (cost 500.50). The total is 2,000.50 and the average price is 10.0025.
If two bids at 9.98 are in the book, the one entered first executes first.
How to read it
A narrow spread and large quantities near the top indicate a book that absorbs orders at small cost. A wide spread or thin depth indicates that a market order moves the price. The book changes with each added, cancelled or executed order, so it shows a moment, not a trend.
Who uses it
- Traders and markets sales staff read the book to choose how and when to place an order.
- Quantitative developers build the systems that send orders and read book data.
- Compliance officers review order and trade records for execution and conduct rules.
- Trade and transaction reporting analysts match executed trades to the venue records.
- Data analysts measure spreads and depth from order book data.
Common confusions
- The order book shows orders waiting to trade. The tape or consolidated tape shows trades already done.
- The best bid is not the last traded price. The last price may sit at either side or between them.
- Not every venue works as an order book. Some use quotes, requests for quotes or periodic auctions.
- A lit book shows orders before trading. A dark pool does not.