Library · Trading Mechanics

Limit Orders

A limit order is an instruction to buy or sell only at a stated price or better, which fixes the worst acceptable price but leaves the fill uncertain.

  • Beginner
  • 4 min read
  • Updated

Why it matters

A limit order is the basic order type built to name the price. In return it offers no promise of a trade. It can fill in a second, in a week, in part, or never.

Limit orders are also what the market is made of. Every price visible in an order book is somebody’s limit order waiting.

How it works

Where limit orders rest when price is 100
  1. Sell limit104Waits above the market. Fills only if a buyer pays 104 or more.
  2. Current price100Neither order can trade here.
  3. Buy limit97Waits below the market. Fills only if a seller accepts 97 or less.
A limit order waits on the favourable side of the current price: buys below, sells above.

A limit order states a side, a size and a limit price.

  • A buy limit fills at the limit price or lower.
  • A sell limit fills at the limit price or higher.

If the market is not at that price yet, the order is placed in the order book and waits. An order waiting in the book is called a resting order. It adds liquidity, so the trader who placed it is the maker, and many exchanges charge makers a lower fee.

In plain words

A limit order is like leaving a written offer with an estate agent: “I will buy this flat for 97,000 or less.” If the seller comes down to that price, the deal is done at your number. If the seller never does, you keep your money and you do not get the flat.

What happens after it is placed

How a buy limit order fills
  1. Place orderBuy at 97 or lower.
  2. Wait in the bookPrice is at 100. Nothing happens.
  3. Reach the frontPrice falls to 97 and earlier orders at 97 fill first.
  4. FilledA seller trades with the order at 97.
A limit order controls price, not timing. The last two steps may never happen.

Queueing. Many orders can wait at the same price. Most exchanges serve them in the order they arrived, a rule known as price-time priority. An order placed late at a crowded price stands at the back of the queue.

Partial fills. If only some of the size trades, the rest keeps waiting. One order can therefore produce several fills at different times.

Lifetime. A limit order stays active according to its time-in-force setting. The common default, good till cancelled, leaves it live until it fills or is removed. See order types.

Going deeper

Market order vs limit order

MARKET ORDER

Trade now at the best available price.

  • Fills immediately in a liquid market
  • Price is not guaranteed
  • Pays the spread and may suffer slippage
  • Usually charged the taker fee

LIMIT ORDER

Trade only at my price or better.

  • Price is controlled
  • Fill is not guaranteed
  • Waits in the order book
  • Often charged the lower maker fee
The trade-off is certainty of execution versus certainty of price.

Limit orders that trade immediately

A limit price can be set through the market. Suppose the best ask is 100.10 and a trader sends a buy limit at 100.30. Sellers are already available below the limit, so the order trades at once against them, starting at 100.10, and stops if prices go above 100.30. This is a marketable limit order. It behaves like a market order with a price cap, takes liquidity and normally pays the taker fee.

A post-only instruction prevents this. The exchange cancels the order instead of letting it trade immediately.

Touched is not filled

A chart can show price reaching a limit level while the order stays unfilled. Price may have traded there for a small quantity, all of which went to orders earlier in the queue. A resting order is only certain to have filled once price has traded through its level.

Which orders get filled

A resting buy order fills when sellers push price down into it. A resting sell order fills when buyers push price up into it. This means limit orders are filled most readily while the market is moving against them, and tend to be missed when the market moves away in the hoped-for direction. Market microstructure texts call this effect adverse selection, and it is a known cost of offering liquidity.

One hypothetical buy limit, three outcomesHypothetical illustration

An asset trades at 100. A trader places a buy limit for 10 units at 98.

  • Outcome A: filled. Price falls to 97.50. Trading passed through 98, so all 10 units fill at 98.
  • Outcome B: not filled. Price dips to 98.20, turns and rises to 110. The order never trades. The trader holds no position.
  • Outcome C: partly filled. Price touches 98 briefly. Orders ahead in the queue take most of the selling. Only 4 units fill before price moves back up, and 6 units remain waiting.

In all three cases the order did its job: nothing was bought above 98.

What it does NOT mean

  • A limit order does not mean a trade will happen. It fixes a price condition. Whether the market meets it is unknown.
  • A fill is not confirmation that the price was a good one. A buy limit fills because price fell to it, and price can keep falling.
  • A limit order is not automatically a maker order. If it can trade immediately, it takes liquidity like a market order.
  • “Or better” does not mean improvement is likely. A resting order normally fills at exactly its limit price. Better prices occur mainly when an order is marketable on arrival.

Common mistakes

  1. Assuming a touch equals a fill. Queue position decides who trades when little size changes hands at a level.
  2. Setting a buy limit above the market by accident. The order becomes marketable and fills at once, which is the opposite of waiting.
  3. Forgetting old orders. A good-till-cancelled order placed days ago can fill long after the reason for it has gone.
  4. Not checking for partial fills. A position may be smaller than intended, with the remainder still live in the book.

Risks and limitations

  • The order may never fill, leaving the trader without the position or still holding one they meant to close.
  • While it waits, the order is exposed: news can move the market through it before it can be cancelled.
  • Fills arrive when price is moving toward and often through the order.
  • In a fast market a limit order used as an exit can be left behind entirely. See slippage for the contrast with market-type exits.

Key takeaway

A limit order fixes the worst price and leaves the fill open. It may trade in full, in part or not at all, and it is filled by price moving toward it.

Sources and further reading

  • Trading and Exchanges: Market Microstructure for Practitioners, Larry Harris (2003). Limit orders, order precedence and the risks of offering liquidity
  • Limit Orders (opens in a new tab), U.S. Securities and Exchange Commission. Defines a limit order as an order to buy or sell at a specific price or better, with no guarantee of execution