Esta página destina-se apenas a fins informativos. Certos serviços e funcionalidades podem não estar disponíveis na sua jurisdição.

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.

Learn more about bid price, ask price, and market depth, or return to the cryptocurrency glossary.

References

Aviso legal
Este conteúdo é fornecido apenas para fins informativos e pode abranger produtos que não estão disponíveis na tua região. Não se destina a fornecer (i) aconselhamento ou recomendações de investimento; (ii) uma oferta ou solicitação para comprar, vender ou deter ativos de cripto/digitais, ou (iii) aconselhamento financeiro, contabilístico, jurídico ou fiscal. As detenções de ativos de cripto/digitais, incluindo criptomoedas estáveis, envolvem um nível de risco elevado e podem sofrer grandes flutuações. Deves ponderar cuidadosamente se o trading ou a detenção de ativos de cripto/digitais são adequados para ti, tendo em conta a tua condição financeira. Consulta o teu profissional jurídico/fiscal/de investimentos para tirar dúvidas sobre as tuas circunstâncias específicas. As informações (incluindo dados de mercado e informações estatísticas, se existirem) apresentadas nesta publicação destinam-se apenas a fins de informação geral. Embora tenham sido tomadas todas as precauções razoáveis na preparação destes dados e gráficos, a OKX não assume qualquer responsabilidade por erros ou omissões aqui expressos.

Ativos digitais sujeitos a volatilidade e não segurados. Não constitui aconselhamento financeiro ou de investimento. Nem todos os produtos são oferecidos em todas as regiões. Aplicam-se exclusões e Termos e Condições.

© 2026 OKX. Este artigo pode ser reproduzido ou distribuído na sua totalidade, ou podem ser utilizados excertos de 100 palavras ou menos deste artigo, desde que essa utilização não seja comercial. Qualquer reprodução ou distribuição de todo o artigo também deve indicar de forma notável: “Este artigo é © 2026 OKX e é utilizado com permissão.” Os excertos permitidos devem citar o nome do artigo e incluir a atribuição, por exemplo, "Nome do Artigo, [nome do autor, se aplicável], © 2026 OKX." Alguns conteúdos podem ser gerados ou ajudados por ferramentas de inteligência artificial (IA). Não são permitidas obras derivadas ou outras utilizações deste artigo.

Artigos relacionados

Ver mais
trading-foundations-20-thumbnails-jpg-2026-11-25/quote-currency

What is total supply?

**Total supply is the total number of units of a crypto asset that have been created so far and still exist after the burned units are subtracted.** It includes units that are still locked, not yet re
27/11/2026
trading-foundations-20-thumbnails-jpg-2026-11-25/order-book

What is a technical indicator?

**A technical indicator is a set of values or a curve calculated from market data such as price and trading volume according to a defined formula.** It organizes trading records into results that are
27/11/2026
trading-foundations-20-thumbnails-jpg-2026-11-25/market-depth

What is technical analysis?

**Technical analysis (TA) is a family of analytical methods that study historical prices, trading volume, and other market trading data to identify trends and patterns.** A pattern here is a shape for
27/11/2026
trading-foundations-20-thumbnails-jpg-2026-11-25/bid-price

What is a support level?

**A support level is a price zone marked in technical analysis where the price, when falling, has previously slowed, paused, or rebounded, so analysts watch whether a similar reaction will occur again
27/11/2026
trading-foundations-20-thumbnails-jpg-2026-11-25/ask-price

What is a resistance level?

**A resistance level is a price area marked in technical analysis where price rises have previously slowed, paused or turned lower, so analysts watch whether a similar reaction appears again.** It des
27/11/2026
trading-foundations-20-thumbnails-jpg-2026-11-25/price-impact

What is the Relative Strength Index?

**The Relative Strength Index (RSI) is a technical indicator that compares the amounts by which an asset's price has risen and fallen and expresses the result as a reading from 0 to 100.** It describe
27/11/2026
Ver mais