Limit Order
How a Limit Order Works
When you place a limit order, you’re setting a boundary. For a buy, you’re saying: “I’ll pay up to $X, but not a penny more.” For a sell: “I want at least $X, but not a penny less.” Your order sits on the order book at your specified price until it’s either filled, canceled, or expires.
If the current ask is $50.05 and you place a buy limit at $49.80, your order won’t fill immediately. It will wait in the queue. If the price drops to $49.80 or below, your order executes — potentially at a price even better than your limit. If the price never reaches $49.80, the order stays unfilled.
| Order Type | You Set | Fills When | You Get |
|---|---|---|---|
| Buy limit | Maximum price you’ll pay | Market price ≤ your limit | Your limit price or lower (better) |
| Sell limit | Minimum price you’ll accept | Market price ≥ your limit | Your limit price or higher (better) |
Limit Order Example
A stock is currently trading at $100. You want to buy it, but you think $95 is a better entry. Here’s how the scenario plays out:
| Scenario | Stock Price Movement | Your Buy Limit at $95 |
|---|---|---|
| Stock drops to $95 | $100 → $95 | Fills at $95 or better — you bought the dip |
| Stock drops to $92 | $100 → $92 | Fills at $95 as it passes through (or at $92 if it gaps down) |
| Stock rises to $110 | $100 → $110 | Never fills — you miss the rally entirely |
| Stock drops to $95.10 | $100 → $95.10 | Doesn’t fill — came close but never hit your exact limit |
That last scenario is the frustration of limit orders. Precision gives you control but can cause you to miss trades by fractions of a percent. This is the fundamental trade-off: price control versus execution certainty.
When to Use a Limit Order
Illiquid or wide-spread securities. When the bid-ask spread is wide — common in small-caps, penny stocks, and thinly traded ETFs — a limit order prevents you from getting filled at an unfavorable price. This is the scenario where limit orders add the most value.
Volatile markets. When the VIX is elevated and prices are whipping around, a limit order caps your worst-case execution price. During the 2010 flash crash, investors with limit orders were protected from absurd fills that hit market order users.
Targeting a specific entry point. If your analysis says a stock is worth buying at $45 but not at $50, a limit order enforces that discipline automatically. You set it, and the market either comes to your price or it doesn’t — no emotional decision-making required.
Large orders. If your order is large relative to the stock’s daily volume, a market order will “walk the book” — filling at progressively worse prices. A limit order caps the maximum price you’ll pay, even if it means only partially filling.
Time-in-Force Options
When you place a limit order, you also specify how long it should remain active. The common options:
| Time-in-Force | Duration | Best For |
|---|---|---|
| Day order | Cancels at market close if unfilled | Most standard trades — the default at most brokers |
| GTC (Good ‘Til Canceled) | Remains active until filled or manually canceled (typically 30–90 days max) | Setting a target buy price you’re willing to wait for |
| IOC (Immediate or Cancel) | Fills whatever it can instantly, cancels the rest | Large orders where partial fills are acceptable |
| FOK (Fill or Kill) | Fills the entire order immediately or cancels completely | All-or-nothing trades where partial fills aren’t useful |
| Extended hours | Active during pre-market and/or after-hours sessions | Reacting to earnings or news outside regular hours |
Partial Fills
Limit orders can fill partially. If you place a buy limit for 1,000 shares at $50.00 and only 400 shares are available at that price, you’ll get 400 shares filled and the remaining 600 will stay on the book waiting. This is common with larger orders in less liquid stocks.
Partial fills can be inconvenient if you need the full position, and depending on your broker, each partial fill may count as a separate transaction for record-keeping purposes. FOK orders avoid this issue but at the cost of potentially getting no fill at all.
Limit Order vs. Market Order
| Factor | Limit Order | Market Order |
|---|---|---|
| Price control | Full — you set the maximum/minimum price | None — you accept the best available price |
| Execution certainty | Not guaranteed — may never fill | Virtually guaranteed during market hours |
| Slippage risk | Eliminated | Present, especially in illiquid or volatile conditions |
| Opportunity cost | Higher — you may miss a trade waiting for your price | Lower — you get in or out immediately |
| Complexity | Slightly more — requires choosing a price and time-in-force | Simplest possible order |
Neither order type is universally better. The right choice depends on liquidity, your urgency, and position size. Many traders use a practical hybrid: a marketable limit order — a limit set at or very near the current ask (for buys) or bid (for sells). This fills almost as fast as a market order but provides a price ceiling that protects against extreme slippage.
Limit Orders and Stop-Losses
A limit order and a stop-loss order serve different purposes but are often confused:
A limit order sets the price at which you want to trade. It’s proactive — you’re targeting an entry or exit level.
A stop-loss sets the price at which you need to trade to cap your losses. It’s defensive — it triggers only when the market moves against you.
A stop-limit order combines both: a stop price that activates the order and a limit price that caps how far beyond the stop it will execute. This prevents the worst-case scenario of a stop-loss filling at an extremely poor price during a gap down — but it also means the order may not fill at all if the price blows through your limit.
Key Takeaways
- A limit order guarantees your price but not your fill — the trade only executes at your specified price or better.
- Buy limits set a maximum purchase price; sell limits set a minimum sale price.
- Limit orders are essential for illiquid securities, volatile markets, and larger position sizes.
- Time-in-force settings (day, GTC, IOC, FOK) control how long the order stays active.
- A marketable limit order — set near the current market price — combines the speed of a market order with slippage protection.
Frequently Asked Questions
Can a limit order fill at a better price than I set?
Yes. A buy limit at $50 can fill at $49.50 if the price drops below your limit before the order reaches the front of the queue. This is called price improvement, and it’s one of the advantages of limit orders — you set the worst-case price, but you can do better.
Why didn’t my limit order fill even though the price hit my limit?
Likely a queue priority issue. Limit orders at the same price fill in the order they were received (price-time priority). If many orders are ahead of yours at $50.00 and only a few shares trade at that price, the orders placed first fill first. Your order may also not fill if the price only briefly touched your limit without sufficient volume at that level.
Do limit orders work during after-hours trading?
Yes — in fact, most brokers require limit orders during pre-market and after-hours sessions. Market orders are typically not accepted outside regular hours because liquidity is much thinner and spreads are wider.
Is there a fee difference between limit and market orders?
At most major retail brokers, no. Commission-free trading applies equally to both order types. The cost difference comes from execution quality (slippage), not broker fees.
Should I always use limit orders instead of market orders?
Not necessarily. For highly liquid, large-cap stocks with tight spreads, a market order is perfectly fine and simpler. The benefit of limit orders scales with illiquidity and volatility — the less liquid or more volatile the security, the more important price control becomes.