This page is for information purposes only. Certain services and features may not be available in your jurisdiction.

What is a limit order?

A limit order is an order to buy or sell at a specified price or better. For a buy, the limit is the highest price the trader is willing to pay; for a sell, it is the lowest price the trader is willing to accept. A limit order constrains execution prices but does not guarantee execution.

How does a limit order work?

After a trader submits the side, quantity and limit, the trading system matches the order against existing quotes. This process is called matching. The order book records unfilled buy and sell quotes and quantities.

The system processes orders according to price and quantity:

  • Suitable quotes and sufficient quantity: the whole order fills.

  • Suitable quotes but insufficient quantity: part fills first, and the remainder usually waits in the book.

  • No suitable quotes: nothing fills yet, and the order usually joins the book to wait.

The following hypothetical spot sell orders are priced in USDT, with quantities in units of the same asset. For clarity, assume quotes remain unchanged during matching and the order can execute normally.

Ask price (USDT)

Quantity

100

2

101

3

102

5

A limit order to buy 6 units with a limit of 101 USDT first buys 2 at 100 and then 3 at 101. The remaining unit cannot be bought at 102 because that exceeds the limit. It stays in the book waiting for a sell order priced no higher than 101.

This illustrates two points: the limit is not necessarily the actual execution price, and an order may fill only partially if eligible quantity is insufficient. For selling, the direction is reversed: only bids at the limit or above are acceptable.

Unfilled quantity may be canceled under platform rules. Canceling the order does not reverse portions already executed.

How does a limit order differ from a market order?

A limit order specifies acceptable prices first; a market order attempts to execute as quickly as possible at currently available quotes. The difference is not which is always faster, but whether the trader sets a price limit.

Against the same sell orders above, a market order to buy 6 units would continue to buy the final unit at 102 and complete the quantity, provided no platform trading restriction is reached. The buy order with a limit of 101 would not accept that price.

Comparison

Limit order

Market order

Price limit

Sets a maximum buy price or minimum sell price

Sets no execution-price limit

Execution

Matches opposite-side quotes at the limit or better

Attempts to match the best currently executable quotes in sequence

Main trade-off

Constrains price, but may wait or fail to fill in full

Prioritizes execution, but prices may differ from expectations

A limit order can also fill immediately if existing quotes meet its price and quantity requirements. A market order is not guaranteed to fill either: insufficient quotes, price protection or quantity limits can also prevent full execution.

What else matters for execution and fees?

The latest traded price shown in market data records a transaction that has already occurred. It does not establish that enough quantity remains at that price for an order. Check execution records to determine whether an order filled, rather than only whether market prices touched the limit.

A limit order does not necessarily incur the maker rate. A portion that immediately trades against existing quotes is taker; a portion that waits first and is later executed by another order is maker. Fees depend on actual executions and applicable rates and are not included in the price limit itself.

Related terms

Explore market orders, slippage, and the special execution conditions of IOC orders and FOK orders, or return to the crypto glossary.

References

Disclaimer
This content is provided for informational purposes only and may cover products that are not available in your region. It is not intended to provide (i) investment advice or an investment recommendation; (ii) an offer or solicitation to buy, sell, or hold crypto/digital assets, or (iii) financial, accounting, legal, or tax advice. Crypto/digital asset holdings, including stablecoins, involve a high degree of risk and can fluctuate greatly. You should carefully consider whether trading or holding crypto/digital assets is suitable for you in light of your financial condition. Please consult your legal/tax/investment professional for questions about your specific circumstances. Information (including market data and statistical information, if any) appearing in this post is for general information purposes only. While all reasonable care has been taken in preparing this data and graphs, no responsibility or liability is accepted for any errors of fact or omission expressed herein.

Digital Assets subject to volatility and not insured. Not financial/investment advice. Not all products and services offered in all regions. Exclusions and T&Cs apply.

© 2026 OKX. This article may be reproduced or distributed in its entirety, or excerpts of 100 words or less of this article may be used, provided such use is non-commercial. Any reproduction or distribution of the entire article must also prominently state: “This article is © 2026 OKX and is used with permission.” Permitted excerpts must cite to the name of the article and include attribution, for example “Article Name, [author name if applicable], © 2026 OKX.” Some content may be generated or assisted by artificial intelligence (AI) tools. No derivative works or other uses of this article are permitted.

Related articles

View more
Generic charts thumbnail

What is a fill-or-kill (FOK) order?

**Fill or kill (FOK) is an execution condition requiring the entire order to fill immediately or be canceled in full.** It accepts no partial fill and leaves no unfilled quantity waiting for another o
Nov 12, 2026
thumbnail:bullish-calendar-spread-strategy

What is a maker?

**A maker is the party that first provides a quote in an order book and later trades when another order matches it.** An order book records unfilled buy and sell quotes and their quantities. In order-
Nov 12, 2026
trade-academy-beginner-4

What is a taker?

**A taker is the party that immediately matches and trades against a quote already in the order book.** The order book records unfilled buy and sell quotes and their quantities. A taker accepts one of
Nov 12, 2026
Options trading generic thumb

What is the bid-ask spread?

**The bid-ask spread is the difference between the lowest ask and highest bid in the same market at the same time.** In an order-book-based crypto market, it describes the distance between the closest
Nov 12, 2026
Forward Contracts vs. Futures Contracts What Are the Differences

What is a post-only order?

**A post-only order adds a requirement to a limit order: post a quote without immediately taking an existing one.** In order-book-based crypto spot and derivatives markets, the order book records unfi
Nov 12, 2026
thumbnail:arbitrage-order

What is an immediate-or-cancel (IOC) order?

**An immediate-or-cancel (IOC) order requires the quantity currently available to fill immediately, with any unfilled remainder canceled.** In order-book-based crypto markets, the order book records u
Nov 12, 2026
View more