Every trade you place has two components: which stock you're buying or selling, and how you want the trade executed. Most beginners pick the first without thinking much about the second. That's how they end up paying 3% more than they expected on a thinly traded small-cap, or selling at a price far below where they intended during a volatile open.
Order types are the mechanics of execution. Understanding them takes about 15 minutes and will save you real money over your investing lifetime. This guide covers the five order types every investor should know, plus the duration settings that control how long they stay active.
Market Orders: Fast, Simple, Imprecise
A market order tells your broker: "Buy (or sell) this stock immediately at whatever the current market price is." The trade fills at the best available price the moment the order reaches the exchange.
How Market Orders Work
When you submit a market order during regular trading hours, your broker routes it to the exchange. Market makers and electronic systems match your order against the best available ask (if you're buying) or bid (if you're selling). The fill happens in milliseconds.
Market orders are guaranteed to execute. They are not guaranteed to execute at any specific price.
When to Use a Market Order
Market orders make sense in specific situations:
- Highly liquid stocks (Apple, Microsoft, S&P 500 ETFs) where the bid-ask spread is $0.01 and the difference between bid and ask is negligible
- When speed matters more than price — getting in or out of a position when you've made a decision and execution certainty is the priority
- Small position sizes relative to the stock's daily volume — a $2,000 trade in a stock with $500 million in daily volume won't move the market
When Market Orders Are Dangerous
- Illiquid stocks — If a stock trades 50,000 shares a day and you're submitting a 5,000-share market order, you may consume multiple price levels in the order book and fill at prices far above (buying) or below (selling) the last quoted price
- Pre-market and after-hours trading — Spreads widen dramatically outside regular hours. A market order at 7:00 AM can fill at a price far from where the stock closed
- Around earnings releases and major news events — Prices can gap and move rapidly; a market order submitted at the wrong moment can fill at an extreme price
- Volatile market opens — The first minutes after the 9:30 AM ET open are often chaotic; market orders during this window can fill well outside the pre-market indicated price
Limit Orders: Your Price or Better
A limit order lets you specify the maximum price you'll pay (buy limit) or the minimum price you'll accept (sell limit). Your broker will only execute the trade at your stated price or better.
How Limit Orders Work
When you place a buy limit order for 100 shares of XYZ at $50.00, you're telling the market: "I will only buy at $50.00 or lower." If the stock is trading at $51.50, your order sits in the order book, waiting. If the price drops to $50.00 or below, your order becomes eligible to fill.
Sell limit orders work in reverse: you set a minimum acceptable price, and the order fills only if the stock reaches that level.
When to Use a Limit Order
Limit orders are the right default for most investors in most situations:
- Entering a position on any stock below S&P 500 top-50 liquidity — If you're buying a mid-cap, small-cap, or any stock with meaningful spread, use a limit order at or near the ask
- Locking in a profit target — If you own a stock at $40 and want to sell around $55, a limit sell order placed at $55 sits in the queue and executes automatically when the price hits
- Buying a pullback — If you want to enter a stock at a specific support level, a limit buy order lets you walk away and only fills if the market comes to you
- Volatile or thinly traded names — Always use limit orders here. No exceptions
The Trade-off: Non-Execution Risk
The core downside of a limit order is that it may never fill. If you set a buy limit at $50 and the stock trades down to $50.05 but never quite touches $50, you don't own the stock. If it then rallies back to $60, you missed it.
This is called non-execution risk or opportunity cost, and it's real. The question isn't whether limit orders are better than market orders in some abstract sense — it's which one is appropriate for the specific trade you're making right now.
Slippage: Why the Price You See Isn't Always the Price You Get
Slippage is the difference between the price you expected when you placed the order and the price you actually received when it filled.
Slippage is not unique to market orders — it can occur with limit orders in fast-moving markets too — but market orders are far more vulnerable to it.
Sources of slippage:
- Bid-ask spread — The most common form. If a stock is quoted at $49.95 bid / $50.05 ask and you place a market buy, you pay $50.05, not $49.95 or anywhere in between. That $0.10 spread is immediate slippage.
- Market impact — Large orders moving the price as they fill through multiple levels of the order book.
- Price movement — In fast markets, the price can move between when you click "buy" and when the order reaches the exchange.
For a retail investor in liquid large-cap stocks, slippage might cost $0.01–$0.05 per share. For someone trading illiquid micro-caps with wide spreads, slippage can easily be 1–3% per trade — a cost that compounds into significant underperformance over time.
Stop Orders: Protecting Positions
Stop orders are a third type that combines trigger logic with an execution mechanism. They sit dormant until a trigger price is hit, then become active.
Stop-Loss Order (Stop Market Order)
A stop-loss order (or stop order) triggers a market order when a stock reaches your specified stop price.
Example: You own XYZ at $50. You set a stop-loss at $45. If the stock drops to $45, the stop triggers and your position is sold as a market order. The fill price may be slightly below $45 depending on how fast the market is moving.
Stop-losses are the most common tool for limiting downside on existing positions. They automate the discipline of cutting a losing trade — removing emotion from the decision.
Key limitation: In a fast gap-down (earnings miss, breaking news), a stock can open 15% below your stop price. The stop triggers, but the fill is at the gap-open price — potentially well below your intended exit. This is called gapping through your stop.
Stop-Limit Order
A stop-limit order combines a stop trigger with a limit price. When the stop triggers, it creates a limit order rather than a market order.
Example: You own XYZ at $50. You set a stop price of $45 and a limit price of $44.50. When the stock hits $45, a sell limit order at $44.50 activates. Your order will only fill at $44.50 or better.
This solves the gapping problem — but introduces a new one. If the stock gaps down to $40, your limit at $44.50 never fills and you hold a position that has already blown through your exit level.
Stop-limits give you price certainty at the cost of execution certainty. In fast markets, that trade-off can hurt.
Trailing Stop Orders: Riding Trends Without Watching All Day
A trailing stop is a dynamic stop that moves up automatically as a stock's price rises (for long positions), locking in more profit as the trade works in your favor — while still protecting you on a reversal.
You set the trailing stop as either a dollar amount or a percentage below the market price.
Example: You buy XYZ at $50 and set a 10% trailing stop. The stop starts at $45 ($50 × 0.90). If the stock rises to $60, the stop moves up to $54 ($60 × 0.90). If the stock then falls back to $54, the stop triggers and you exit with a $4 gain per share.
Trailing stops are powerful for trend-following strategies where you want to let a winner run without giving back all your gains. They're less useful in choppy, sideways markets where normal volatility repeatedly triggers the stop before the trend resumes.
Order Duration: How Long Does Your Order Stay Active?
Every order you place has a time horizon attached to it. The two most common settings:
Day Order: The default at most brokers. If the order doesn't fill by the market close, it's automatically cancelled. You start fresh the next day.
Good-Til-Cancelled (GTC): The order stays active across multiple trading sessions until it fills or you manually cancel it. Most brokers apply a 30–90 day maximum on GTC orders, after which they expire automatically. GTC orders are useful for limit orders placed at levels you expect to take time to reach.
Fill-or-Kill (FOK): Execute the entire order immediately or cancel it entirely. No partial fills. Used primarily by institutional traders who need to avoid partial execution when the full order size matters.
Immediate-or-Cancel (IOC): Execute whatever portion can be filled immediately, cancel the rest. More flexible than FOK for large orders.
For most individual investors, the choice is between Day and GTC. Use Day for intraday intentions; use GTC for longer-horizon limit orders and price targets.
The Order Book: Why Limit Orders Matter to Price Discovery
Every exchange maintains an order book — a record of all pending buy and sell orders and their prices. Limit orders from buyers and sellers stack up in the book, creating the bid side (buyers) and ask side (sellers).
The bid price is the highest price any buyer is currently willing to pay. The ask price (or offer) is the lowest price any seller is currently willing to accept. The gap between them is the bid-ask spread.
When you place a market order, you're immediately consuming the best available price on the other side of the book. When you place a limit order, you're adding liquidity to the book — you're part of the market's price discovery mechanism.
This is why thinly traded stocks with wide spreads are dangerous for market orders. The order book on those names is shallow — there are few competing limit orders near the current price, so a market order can move through several price levels before finding enough counterparties to fill.
All 5 Order Types: Quick Reference
| Order Type | How It Works | Execution Certainty | Price Certainty | Best Used For |
|---|---|---|---|---|
| Market Order | Fills immediately at best available price | High — nearly guaranteed | Low — price can differ from quote | Liquid large-caps, speed critical |
| Limit Order | Fills only at your price or better | Low — may not fill | High — you control the price | Most buy/sell decisions, pullback entries, profit targets |
| Stop (Market) Order | Triggers market order when price hits stop | Moderate — fills near stop | Low — can slip, especially in gaps | Position protection, cutting losses |
| Stop-Limit Order | Triggers limit order when price hits stop | Low — may not fill in fast markets | High — limit controls final price | Protection with price control, slower markets |
| Trailing Stop | Stop moves dynamically as price improves | Moderate — fills when stop trails back | Low — similar to stop market | Riding trends, locking in profits |
The Smart Way to Combine Order Types With Alerts
The problem with limit orders and stop orders is that they require you to either stare at a chart waiting for your price level — or trust that a standing order placed days ago still makes sense given where the market is today.
Price alerts solve this. Instead of placing a GTC limit order and forgetting about it, you can set a price alert at your intended entry level. When the stock hits that price, you get notified in real time — and you make the active decision to execute, with full context of what's happening in the market at that moment.
This workflow is especially valuable for:
- Breakout entries — Alert when a stock crosses above a resistance level. Then you decide whether the breakout has volume and follow-through before buying.
- Pullback entries — Alert when a stock pulls back to a support level. Then you assess whether the pullback is a healthy retest or the start of a breakdown.
- Earnings plays — Alert when a company reports, then immediately evaluate the balance sheet and guidance before deciding on the trade.
- Stop management — Alert when a position is approaching your mental stop. You decide whether to cut it, tighten the stop, or hold through support.
Stock Alarm Pro lets you set price alerts across 10,000+ stocks, ETFs, crypto, forex, and futures directly from the alerts dashboard. You can also screen for specific technical setups on the screener — filtering for stocks trading near key moving averages, at 52-week highs, or meeting other criteria — and then set alerts on the names you find.
Ready to know the exact moment your price level is hit? Start free with Stock Alarm — real-time alerts across 10,000+ stocks, crypto, forex, and futures. No credit card required.