Logo
Stocks 38 min read

Order Types Explained

Executing Trades with Precision

Understanding order types is crucial for executing trades effectively. The right order type gives you control over price, timing, and risk management. Using the wrong order type can cost you money through slippage, missed fills, or unnecessary losses. This lesson covers all major order types and when to use each one.

The Basics: How Orders Work

📋 Order Flow

When you place an order:

  1. Your broker receives your order
  2. Broker routes it to an exchange or market maker
  3. Order is matched with a counterparty (another buyer/seller)
  4. Trade executes and settles (T+1 for stocks, meaning next business day)

Market Orders

⚡ Market Order

What it does: Buys or sells immediately at the best available price in the market.

When to use: When you need to enter or exit NOW and price is less important than certainty of execution.

✅ Pros
  • Guaranteed execution (for liquid stocks)
  • Instant fill—no waiting
  • Simple and straightforward
❌ Cons
  • No price control—you get whatever price is available
  • Slippage in volatile or illiquid markets
  • Can be costly during fast-moving markets

💡 Market Order Example

AAPL is trading at $150.00 bid / $150.05 ask.

  • Market Buy: You buy at $150.05 (the ask)
  • Market Sell: You sell at $150.00 (the bid)

In volatile conditions, if price jumps while your order is processing, you might get filled at $150.10 or higher—that's slippage.

⚠️ Slippage Warning

In illiquid stocks or during high volatility, slippage can be significant. If you place a market order for 10,000 shares of a thinly-traded stock, you might move the price against yourself and get terrible fills. Use limit orders for illiquid securities!

Limit Orders

🎯 Limit Order

What it does: Only executes at your specified price OR BETTER. You set the maximum price you'll pay (buy limit) or minimum price you'll accept (sell limit).

When to use: When you want a specific price and can wait for it. Standard order type for most situations.

✅ Pros
  • Complete price control
  • No slippage—you know your worst-case price
  • Can get better price than expected (price improvement)
❌ Cons
  • May not get filled if price doesn't reach your level
  • Can miss moves if you're too aggressive with price
  • Partial fills possible (only some shares execute)

💡 Limit Order Examples

Buy Limit: AAPL trading at $150. You set a buy limit at $148.

  • Order sits and waits
  • If price drops to $148 or lower, your order fills
  • If price never reaches $148, order never executes
  • You might get filled at $147.90 if price gaps down (better than your limit!)

Sell Limit: You own AAPL at $150. You set a sell limit at $160.

  • Order sits and waits
  • If price rises to $160 or higher, your order fills
  • This is a take-profit order

💡 Marketable Limit Orders

If you set a buy limit ABOVE the current ask (or sell limit BELOW current bid), your limit order will execute immediately like a market order, but with a price cap. This gives you speed with protection.

Example: Ask is $150.05. You set buy limit at $150.10. You'll buy immediately at $150.05 (or better), but never pay more than $150.10.

Stop Orders

🛑 Stop Order (Stop-Loss)

What it does: Becomes a MARKET order when price reaches your stop price. Used to limit losses or protect profits.

When to use: To automatically exit a position if price moves against you.

How Stop-Loss Works:
  1. You set a stop price (trigger price)
  2. Order remains dormant until price reaches stop
  3. When triggered, becomes market order
  4. Executes at next available price (may differ from stop price!)

💡 Stop-Loss Example

You buy AAPL at $150 and set a stop-loss at $140.

  • AAPL drops to $145 → Nothing happens, stop not triggered
  • AAPL drops to $140 → Stop triggered, becomes market sell order
  • You might get filled at $139.90 (slippage on the triggered market order)
  • Loss limited to ~$10/share instead of potentially much more

⚠️ Gap Risk

If bad news hits after hours, a stock can gap down past your stop. Your stop at $140 triggers, but the market opens at $120. You sell at $120, not $140. Stops don't guarantee your exit price—they guarantee an exit attempt.

🎯🛑 Stop-Limit Order

What it does: Becomes a LIMIT order (not market) when price hits your stop price. You set both a stop price (trigger) and a limit price (worst acceptable price).

When to use: When you want stop protection but also price protection.

💡 Stop-Limit Example

You own AAPL at $150. Set stop-limit with stop at $140, limit at $138.

  • If price drops to $140, a limit sell order at $138 activates
  • You'll sell at $138 or better, but NOT below $138
  • Risk: If price gaps to $130, your order won't fill at all
Stop vs Stop-Limit:
FeatureStop OrderStop-Limit
Execution guaranteeYes (becomes market)No (might not fill)
Price guaranteeNo (slippage possible)Yes (at limit or better)
Gap protectionWill fill, but at gap priceMay not fill at all
Best forEnsuring exitControlling exit price

Advanced Order Types

📈 Trailing Stop

What it does: A stop-loss that moves with the price, locking in profits as price rises (for long positions).

How it works: Set a trailing amount (dollar or percentage). Stop follows price up but never down.

💡 Trailing Stop Example

You buy AAPL at $150 with a $5 trailing stop.

  • Initial stop: $145 ($150 - $5)
  • Price rises to $155 → Stop moves to $150
  • Price rises to $160 → Stop moves to $155
  • Price drops to $155 → Stop triggered, you sell
  • Result: $5 profit locked in ($155 - $150)

Great for: Letting winners run while protecting profits. Ideal for trending stocks.

💡 Trailing Stop Tips

  • Use wider trails for volatile stocks (8-15%)
  • Tighter trails for less volatile stocks (3-5%)
  • Consider ATR (Average True Range) for setting trail distance
  • Beware of being stopped out by normal volatility

🔄 OCO (One-Cancels-Other)

What it does: Two orders linked together. When one fills, the other automatically cancels.

When to use: When you want to set both a take-profit AND a stop-loss simultaneously.

💡 OCO Example

You own AAPL at $150. You want to:

  • Take profit at $170 (sell limit)
  • Stop loss at $140 (sell stop)

OCO links these together:

  • If price hits $170, sell limit fills, stop-loss cancels
  • If price hits $140, stop triggers, take-profit cancels

Without OCO, if your take-profit filled but stop remained, you could accidentally sell shares you don't own (short position)!

📐 Bracket Order (OTO + OCO)

What it does: Places an entry order with automatic take-profit and stop-loss attached. When entry fills, both exit orders activate as OCO.

Perfect for: Disciplined trading with predefined risk and reward.

💡 Bracket Order Example

  • Entry: Buy AAPL at $150 (limit)
  • Take-profit: Sell at $165 (attached)
  • Stop-loss: Sell at $145 (attached)

When entry fills, both exits become active as OCO. Entire trade managed automatically.

⏰ Time-in-Force Options

TypeDescriptionBest For
DayExpires at market close if not filledStandard day trading
GTCGood Till Cancelled (usually 30-90 days max)Longer-term limit orders
IOCImmediate or Cancel - fill what you can instantly, cancel restLarge orders in liquid markets
FOKFill or Kill - entire order fills immediately or cancelsAll-or-nothing fills
GTDGood Till Date - specify exact expirationEvent-based trading
MOOMarket on Open - executes at opening priceOvernight news reactions
MOCMarket on Close - executes at closing priceEnd-of-day rebalancing

Order Type Selection Guide

SituationBest Order TypeWhy
Need to exit NOW (emergency)Market OrderGuaranteed execution
Want a better entry priceLimit OrderPrice control
Entering liquid stock normallyLimit Order (at ask)Speed + price protection
Protect against big lossesStop-LossAutomatic exit on decline
Lock in profits as price risesTrailing StopFollows price up
Set take-profit AND stop-lossOCO OrderBoth exits managed
Full trade managementBracket OrderEntry + both exits automated
Trading illiquid stockLimit Order (only)Avoid slippage
During high volatilityLimit OrderPrevent terrible fills

Common Order Mistakes

⚠️ Mistakes to Avoid

  • Market orders in illiquid stocks: Can result in terrible fills, 5-10%+ slippage
  • Stops too tight: Normal volatility triggers your stop, then price rebounds
  • No stops at all: "It will come back" → small loss becomes devastating loss
  • Stops at obvious levels: Round numbers ($50, $100) get hunted by algorithms
  • Confusing stop and stop-limit: In crashes, stop-limit may not execute at all
  • Market orders at open: Opening minutes are volatile, spreads wide
  • Forgetting GTC orders: Old orders can fill unexpectedly weeks later
  • Overlapping orders: Multiple orders on same position can cause overselling

Pro Tips for Order Execution

💡 Execution Best Practices

  • Default to limit orders: Better protection, minimal sacrifice
  • Set stops BEFORE entering: Plan your exit as you enter
  • Use OCO for swing trades: Automatic management, less emotion
  • Avoid first 15 min of market open: Widest spreads, most volatility
  • Review GTC orders weekly: Cancel outdated orders
  • Place stops slightly below obvious levels: Avoid stop hunting
  • Scale into positions: Split large orders into smaller chunks
  • Use bracket orders for discipline: Forces good risk management

Key Takeaways

  • Market orders execute immediately but with no price control—use for urgent exits only
  • Limit orders give price control but may not fill—your default order type
  • Stop-loss orders protect against large losses by triggering automatic exits
  • Stop-limit orders add price control to stops, but may not execute in gaps
  • Trailing stops lock in profits while letting winners run
  • OCO orders let you set take-profit AND stop-loss together
  • Bracket orders automate entire trade management (entry + both exits)
  • Always have an exit strategy—set your stop BEFORE you enter

Quick Knowledge Check

Test your understanding before moving on

1. What type of order becomes active only when a certain price is reached?

2. What is the main risk of using a stop-limit order instead of a stop-loss order?

3. What does a trailing stop do?

4. What is an OCO (One-Cancels-Other) order used for?

5. Why should you avoid market orders in illiquid stocks?