Order types: market, limit and stop

Markets and trading
Which order do I use to buy now, to buy cheaper, to protect a gain — and what can go wrong with each one on a real price path?

Learning goals

After this page, you can:

  • Define a market order, a limit order (buy and sell), a stop order (stop-loss and stop-buy) and a stop-limit order, and tell a day order from a good-’til-canceled order.
  • Find, on a list of daily closing prices, the day a stop triggers, the fill price, and the profit or loss.
  • Explain why a stop-loss can lose more than the stop distance, and why a stop-limit can fail to sell at all.
  • Say why a limit buy below the market may never fill, and what that costs.

The idea

You own a concert ticket. You tell a friend: “Sell my ticket if the price drops to $80.” Then you go to sleep. Overnight the price jumps from $85 straight to $60, and your friend sells at $60, exactly as you asked. You did not say “but not below $75”. An order is an instruction to a friend who follows it literally.

Four orders. An order tells a broker what to buy or sell, and on what terms. It fills when the trade happens.

Order What you tell the broker Guaranteed Not guaranteed
Market order Buy or sell now, at the best price available. the trade the price
Limit order Buy at my price or lower. Sell at my price or higher. the price the trade
Stop order Sleep until the price reaches my stop. Then become a market order. it wakes up the price it gets
Stop-limit order Sleep until the price reaches my stop. Then become a limit order. the price the trade

A stop-loss is a sell stop below today’s price: it protects a stock you own. A stop-buy is a buy stop above today’s price: it protects a short sale. A stop protects your position, a limit protects your price. You cannot guarantee both.

What can go wrong.

  • A stop can lose more than you planned. A gap is a jump in price with no trades in between. A stock closes at $50 and opens at $42. Nobody traded at your $47 stop, so it sells at the next price. A stop limits your loss. It does not fix it.
  • A stop-limit can fail to sell. It sells only at your limit or better. If the price keeps falling, you keep the stock and the loss grows.
  • A limit buy can miss. If the price rises instead of coming down to your limit, you own nothing.

How long an order lives. A day order ends at the close if it has not filled. A good-’til-canceled (GTC) order stays open until it fills or you cancel it. A stop that must protect you next week has to be GTC. When you sell a stock, cancel its stop.

The closes-only rule

This page works with one price per day: the closing price.

  • A sell stop triggers on the first close at or below the stop price. A buy stop triggers on the first close at or above it.
  • A limit sell fills on the first close at or above the limit. A limit buy fills on the first close at or below it.
  • A stop-limit triggers like a stop. Then it fills on the first close, that day included, at or above the limit. If none comes, it never sells.
  • The fill price is that day’s close. A close exactly equal to the stop or the limit counts.

Profit or loss per share (sell side) = fill price − buy price

A real order is checked at every trade during the day, so a real fill can differ.

In Excel. With the closes in column B and the stop in cell E2, the helper column =IF(B6<=$E$2,"TRIGGER","") marks every day at or below the stop. The first “TRIGGER” is the trigger day. =MIN(range) finds the lowest close: a limit buy fills only if it is at or below the limit. The loss is =(buy-fill)*shares.

Try it

The tool replays 39 daily closes of XOM (Exxon Mobil) and NVDA (Nvidia) (course data: prices Jan 2–Feb 28, 2025, daily closes). Press a preset. Then change the order.

What to notice:

  • The first preset: a stop 10% below the cost sold 14.38% below it. In one day the close went from 142.62 to 118.42, past the stop.
  • Stop-limit that never sells: the order wakes up on day 38 and waits for 126.00. No close comes back. The shares and the loss stay.
  • Limit buy that never fills: the limit is 2.31 under the first close, but the lowest close is 106.54. The stock rises 4.02 without you.

Worked example

Bluewater Marine has these eight daily closes.

Day 1 2 3 4 5 6 7 8
Close $50.00 $51.20 $49.60 $47.90 $44.10 $45.30 $46.80 $48.20

Three investors each bought 200 shares at the day-1 close of $50.00.

Investor A: a stop-loss at $47.00.

  1. First close at or below 47.00: day 4 is 47.90 (above), day 5 is 44.10 (below). The stop triggers on day 5.
  2. It fills at that close: $44.10.
  3. Loss: 50.00 − 44.10 = $5.90 per share, × 200 = $1,180. That is 11.8% of the cost on a stop only 6% below it: the price gapped from 47.90 to 44.10.

Investor B: a stop-limit with stop $47.00 and limit $46.00.

  1. It triggers on day 5 at 44.10, like A’s order.
  2. Now it sells only at 46.00 or better. Day 5 (44.10): no. Day 6 (45.30): no. Day 7 (46.80): yes. It sells on day 7 at $46.80.
  3. Loss: 50.00 − 46.80 = $3.20 per share, × 200 = $640.

B did better than A this time. But if the price had stayed under 46.00, B would still own the shares.

Investor C: a limit sell at $52.00.

No close reaches 52.00, so the order never fills. On day 8, C still holds the shares with a paper loss of 50.00 − 48.20 = $1.80 per share, or $360.

The tool below starts with A’s stop. For B, pick “Stop-limit (sell)” and type 46 as the limit. For C, pick “Limit sell” and type 52.

Answer. A sold on day 5 at $44.10 (−$1,180). B sold on day 7 at $46.80 (−$640). C never sold (a paper loss of $360 on day 8).

Check yourself

Check 1.

You own shares bought at $64. You want to keep them while they rise but get out automatically if they fall to $58. Which order?

A stop protects a position: it becomes a market order when the price reaches the stop.

Check 2.

A stock closes at $41.50 and, after bad news overnight, closes the next day at $33.00. You had a stop-loss at $40.00. What happens under the closes-only rule?

A stop-loss limits the loss but does not fix it; a price gap can fill well below the stop.

Check 3.

Which pair is correctly matched?

Price protection (limit) and fill certainty (market) are a trade-off; you choose one.

Check 4.

A stock trades at $20. You place a limit buy at $18, day order. The lowest trade all day is $18.40 and the stock closes at $21. At the end of the day you:

A limit buy below the market saves money only if the price comes down to it; otherwise it misses the trade.

Check 5.

You sold a stock short at $50. Which order protects you if the price rises?

Stops work on both sides: a sell stop protects a long position, a buy stop protects a short.

Video

Video coming soon.