What is an order book?
An order book is a list of buy and sell orders that have not yet executed in a trading market. It records the prices buyers are willing to pay and quantities they want to buy, along with the prices sellers are willing to accept and quantities they want to sell. The trading system uses these orders to find buyers and sellers who can trade with each other.
It differs from a trade history: the history records completed trades, while the book records unfilled buy and sell orders waiting for counterparties to accept their prices. New resting orders, executions, and cancellations continually change the list.
What each price level records
A public order book usually aggregates quantities by price level. One level can contain multiple orders from different traders. Its total is the remaining quantity available at that price, without necessarily identifying individual orders or their priority at the same price.
The highest buy level is the best bid level: its price is the best bid price, and its quantity is the best bid size. The lowest sell level is the best ask level, with the best ask price and best ask size. The best bid price and best ask price are also called the best bid and best ask. The second bid, second ask, and subsequent levels follow in price order.
Suppose a market quotes prices in USDT, the quote asset in this example:
| Level | Price (USDT/asset unit) | Quantity awaiting execution (asset units) |
|---|---|---|
| Best ask | 100.1 | 1 |
| Second ask | 100.2 | 2 |
| Best bid | 99.9 | 2 |
| Second bid | 99.8 | 3 |
The best bid is 99.9 and the best ask is 100.1. These prices do not match, so the orders remain in the book. The numbers are illustrative, not live market data. The best bid is determined by the highest buy price and the best ask by the lowest sell price, regardless of their positions in a table.
The aggregate quantity at one price does not tell you where your individual order stands in the queue. Which same-price orders execute first depends on that market’s priority rules; the total quantity at that level alone cannot establish this.
When does an order execute, and when does it rest in the book?
A new order can execute if it accepts the price of an existing counterparty order, executable quantity is available, and its settings allow execution. If prices do not currently match, an order permitted to remain becomes a resting order in the book, waiting for another buyer or seller to trade with it.
Specifically, the price condition is met when a new buy order’s maximum price is at least an existing ask, or a new sell order’s minimum price is at most an existing bid. The amount that can execute also depends on the quantity available at the corresponding quote.
Using the table above, a limit buy order willing to pay at most 99.9 cannot match an ask of 100.1. A limit order specifies a maximum buying price or minimum selling price and rests in the book if it is allowed to wait. A new buy order accepting 100.1 may first fill the 1 unit at that level. Additional quantity requires other quotes within its limit; the entire order does not automatically fill at the first level’s price.
Orders can also fill only partially. For example, a sell order starts with 5 units and fills 2. If it is allowed to remain, the other 3 units stay in the book awaiting a buyer. If the seller subsequently cancels the remainder, those 3 units are removed, but the 2 already executed are not reversed. If the order requires immediate cancellation of its unfilled portion, the remaining 3 units are removed rather than waiting for a later buyer.
A public snapshot does not guarantee execution
A snapshot records the quotes visible at one moment. Other traders executing first, orders being canceled, or new orders arriving can change the quantity available for later trades. A large unfilled buy order is not a completed inflow of funds.
Some conditional orders have not entered the ordinary order book before they trigger, so a public snapshot does not represent all potential trading intentions. Whether a conditional order enters the book depends on its trigger conditions and market rules; an untriggered intention is not an order already available to match.
Different platforms have their own order books even when they offer the same pair. A trade’s quantity and price depend on actual execution in its own market; a quote on another platform is not an execution commitment.
Related terms
Learn more about bid price, ask price, and market depth, or return to the cryptocurrency glossary.
References
Active digitale supuse volatilității și nu sunt asigurate. Nu reprezintă un sfat financiar / de investiție. Nu toate produsele și serviciile sunt oferite în toate regiunile. Se aplică excluderi și Termene și condiții.
© 2026 OKX. Acest articol poate fi reprodus sau distribuit în întregime sau pot fi utilizate extrase de 100 de cuvinte sau mai puțin din acest articol, cu condiția ca o astfel de utilizare să fie non-comercială. Orice reproducere sau distribuire a întregului articol trebuie și să precizeze în mod vizibil: „Acest articol este © 2026 OKX și este utilizat cu permisiune”. Extrasele permise trebuie să citeze numele articolului și să includă atribuirea, de exemplu „Numele articolului, [numele autorului, dacă este cazul],© 2026 OKX”. Unele conținuturi pot fi generate sau asistate de instrumente de inteligență artificială (AI). Nu sunt permise niciun fel de lucrări derivate sau alte utilizări ale acestui articol.









