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

Friskrivningsklausul
Detta innehåll tillhandahålls endast i informationssyfte och kan omfatta produkter som inte är tillgängliga i din region. Det är inte avsett att ge (i) investeringsrådgivning eller en investeringsrekommendation, (ii) ett erbjudande eller en uppmaning att köpa, sälja eller inneha krypto/digitala tillgångar, eller (iii) finansiell, redovisningsmässig, juridisk eller skatterelaterad rådgivning. Innehav av krypto/digitala tillgångar, inklusive stablecoins, innebär en hög grad av risk och kan variera kraftigt. Du bör noga överväga om handel med eller innehav av krypto/digitala tillgångar är lämpligt för dig med hänsyn till din ekonomiska situation. Rådgör med din juridiska/skatte-/investeringsrådgivare om frågor som rör dina specifika omständigheter. Information (inklusive marknadsdata och statistisk information, i förekommande fall) som förekommer i detta inlägg är endast avsedd som allmän information. Även om all rimlig omsorg har iakttagits vid framställningen av dessa data och grafer, tas inget ansvar eller skuld för eventuella sakfel eller utelämnanden häri.

Digitala tillgångar är föremål för volatilitet och är inte försäkrade. Utgör inte finansiell rådgivning eller investeringsrådgivning. Alla produkter och tjänster erbjuds inte i alla regioner. Undantag och villkor gäller.

© 2026 OKX. Denna artikel får återges eller distribueras i sin helhet, eller så får utdrag på 100 ord eller mindre av denna artikel användas, förutsatt att sådan användning är icke-kommersiell. All återgivning eller distribution av hela artikeln måste också tydligt ange: ”Denna artikel är © 2026 OKX och används med tillstånd.” Tillåtna utdrag måste ange artikelns namn och innehålla en källhänvisning, till exempel ”Artikelns namn, [författarens namn i tillämpliga fall], © 2026 OKX.” Visst innehåll kan vara genererat eller framtaget med hjälp av verktyg för artificiell intelligens (AI). Inga bearbetningar eller annan användning av denna artikel är tillåten.

Relaterade artiklar

Visa mer
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](#
25 nov. 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
25 nov. 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
25 nov. 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
25 nov. 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
25 nov. 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
25 nov. 2026
Visa mer