What is order book?
The list of open buy and sell orders on an exchange at various prices.
Not yet verifiedHow we verify
3 min read
In this entry
The list of open buy and sell orders on an exchange at various prices.
Exchanges with deep order books have better liquidity and tighter spreads. The book is the market: there is no separate price somewhere else, only the highest price someone will currently pay and the lowest price someone will currently accept, with everything else stacked behind them.
The idea people arrive with, that an exchange sets the price, is worth discarding early. The exchange operates the matching engine and takes a fee. The price comes from the orders participants place, which is why the same asset can trade a little differently on two venues at the same moment.
How it works
The book has two sides. Bids are orders to buy, sorted highest first. Asks, also called offers, are orders to sell, sorted lowest first. The highest bid and the lowest ask are the top of the book, and the gap between them is the spread. The midpoint between them is the mid price, which is what most charts and depth measurements reference.
Matching follows price-time priority. A better price is filled first, and among orders at the same price, the one placed earlier is filled first. That rule is why a resting order's position in the queue has value, and why cancelling and replacing an order sends it to the back.
Two order types drive everything. A limit order joins the book at a price you set and waits. A market order crosses the spread and consumes resting orders until it is filled. The first adds liquidity and is charged the maker rate, the second removes it and is charged the taker rate.
Most interfaces aggregate the display, grouping orders into price buckets so a book with thousands of entries fits on a screen. Changing the grouping changes how the book looks without changing anything about the market.
Example
Illustrative top of book on a single pair.
| Side | Price | Size | Cumulative |
|---|---|---|---|
| Ask | $250.90 | 12 | 22 |
| Ask | $250.60 | 10 | 10 |
| Bid | $250.00 | 8 | 8 |
| Bid | $249.70 | 15 | 23 |
A market buy of 10 units fills entirely at $250.60. A market buy of 15 units takes all 10 there and 5 at $250.90, for an average of $250.70. A limit buy at $250.00 joins the existing 8 units and waits behind them.
Why it matters when you buy
The book determines what your order actually costs, which is a separate question from what the exchange charges. On a deep pair the difference between a market and a limit order is small. On a thin one it is the dominant cost. RampAtlas measures real books rather than quoting published figures, and the results are on the liquidity pages alongside the fee columns at the fee comparison.
Related terms
- market depth — the sizes behind the top
- spread — the gap between the two sides
- limit order — the order that joins the book
- market order — the order that consumes it
- time in force — how long an order rests
- slippage — the cost of walking down the levels
Questions
Why do two exchanges show different prices?
Because each has its own book and its own participants. Arbitrage keeps them close on major pairs, but never identical, and gaps widen on thin pairs and during volatility.
Can I see the whole order book?
Most venues publish a large portion of it through their interface and public data feeds. Hidden and iceberg orders are not fully displayed, so what you see understates real interest.
Does an order book exist on a decentralized exchange?
Some run order books, but the common design uses an automated market maker instead, quoting from a formula over a pool of assets rather than matching individual orders.
Guides that use this term
- How Crypto Exchanges Make Money
A crypto exchange earns most of its money from trading fees charged on both sides of every trade, and adds revenue from the spread built into simple buy buttons, deposit and withdrawal charges, listing arrangements, interest on customer balances, and paid products such as staking and derivatives.
- How to Read an Order Book
An order book is a live list of every unfilled buy and sell order for one trading pair, sorted by price, with buyers stacked below the current price and sellers stacked above it, and reading it tells you what your order will actually cost before you place it.
- Limit vs Market Orders: When to Use Each
A market order buys immediately at whatever price the order book offers, and a limit order buys only at a price you name or better, so the choice is between certainty of execution and certainty of price, and on most exchanges it is also a choice between two different fee rates.
- Spread and Slippage: The Costs That Aren't on the Fee Page
The spread is the gap between the price you can buy at and the price you can sell at in the same moment, and slippage is the difference between the price you were shown and the price your order actually filled at, and neither one appears as a line item on your trade confirmation.
- Crypto Exchange Fees Explained: What You Actually Pay
The cost of buying crypto is four things added together: the trading fee, the spread built into the price, the deposit fee for your payment method, and the network fee if you withdraw the coins, and only the first of those is usually advertised.