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
crypto-glossary-cover-v5.contentful

Crypto Glossary A–Z

Explore key crypto, blockchain, and trading terms through concise definitions, organized alphabetically for quick reference. [A](#a) · [B](#b) · [C](#c) · [D](#d) · [E](#e) · [F](#f) · [G](#g) · [H](#
Nov 25, 2026
trading-foundations-20-thumbnails-tricolor-whitespace-v4-2026-11-25/short-position

What is a short position?

**A short position is a holding created by selling borrowed assets or selling to open a contract position that has not yet been closed by buying back.** Shorting borrowed assets requires repurchasing
Nov 25, 2026
trading-foundations-20-thumbnails-tricolor-whitespace-v4-2026-11-25/long-position

What is a long position?

**A long position is a holding created by buying and retaining an asset, or by buying to open a contract position that has not yet been closed by selling.** When the asset is sold or the contract posi
Nov 25, 2026
trading-foundations-20-thumbnails-tricolor-whitespace-v4-2026-11-25/crypto-collateral

What is collateral?

**Collateral is an asset pledged to secure repayment of borrowing or fulfillment of trading obligations.** In crypto borrowing and margin accounts, a platform or protocol continually assesses how much
Nov 25, 2026
trading-foundations-20-thumbnails-tricolor-whitespace-v4-2026-11-25/margin-trading

What is spot margin trading?

**Spot margin trading uses assets owned in an account as collateral to borrow quote or base assets for spot purchases and sales.** It still exchanges actual spot assets, but adds a borrowing obligatio
Nov 25, 2026
trading-foundations-20-thumbnails-tricolor-whitespace-v4-2026-11-25/price-impact

What is price impact?

**Price impact occurs when an order consumes currently available buying or selling quantities, causing its average execution price or the quotes available after the trade to deviate from a pre-trade r
Nov 25, 2026
View more