An order is an instruction to your broker. The type of order you choose decides whether you control the price or the speed of your trade, and it is the difference between a planned exit and a panicked one. This guide explains every order type a beginner will meet, with examples.

Key takeaways

  • A market order guarantees execution but not price. A limit order guarantees price but not execution.
  • A stop order sits dormant until a trigger price is hit, then becomes a market order. It is the standard way to automate a stop-loss.
  • A stop-limit order adds a price floor to a stop, which protects against bad fills but can leave you stuck in a falling stock.
  • Beginners should enter with limit orders and protect every position with a stop order placed immediately after the fill.

Why the order type matters

When you tap "buy," your broker needs to know two things beyond the stock and the quantity: how much price flexibility you will accept, and how long the instruction should stay alive. Those two settings are the order type and the time in force. Getting them wrong is the most common way beginners pay more than they intended, sell for less than they planned, or discover that the exit they thought they had never existed.

Every order interacts with the bid (highest price a buyer will pay) and the ask (lowest price a seller will accept). If you need a refresher, read how the stock market works first.

Market orders

A market order says: buy (or sell) now, at whatever the best available price is. It will almost always execute within a second during market hours, which is its whole appeal. The cost is that you do not control the price.

Example. A stock is quoted at $20.00 bid / $20.04 ask. A market order to buy 100 shares fills at $20.04, or higher if the ask moves or if there are only 50 shares offered at $20.04 and the rest fill at $20.06.

In a liquid stock during normal hours, the damage is a few cents. In a thinly traded stock, at the market open, or during news, a market order can fill far from the last price you saw. This is called slippage. Avoid market orders in pre-market and after-hours sessions entirely; many brokers do not even allow them there.

Use a market order when: you must exit a liquid position immediately and the exact price matters less than getting out.

Limit orders

A limit order says: buy at this price or lower, or sell at this price or higher. You set the limit price, and the order either fills at that price (or better) or does not fill at all.

Example. The same stock is at $20.00 / $20.04. You place a limit order to buy 100 shares at $20.02. It sits on the order book until a seller is willing to accept $20.02. If the price moves up to $20.50 without ever trading at your limit, you simply do not get filled.

Limit orders are the right default for entering a trade. If you want a fill quickly without surrendering control, place the limit a cent or two above the ask (for a buy) or below the bid (for a sell). This is sometimes called a marketable limit order: it behaves like a market order but with a ceiling on what you will pay.

Use a limit order when: entering a position, taking profit at a target price, or trading anything with a wide spread.

Stop orders (stop-loss orders)

A stop order is dormant until the stock trades at or through your stop price. At that moment it becomes a market order. Used to sell below the current price, it is the classic stop-loss: an automatic exit if a trade goes against you.

Example. You bought 100 shares at $20.00 and decide the trade is wrong if the price falls to $19.00. You place a sell stop at $19.00. If the stock trades at $19.00, your broker sends a market order to sell and you exit around $19.00, perhaps $18.95 after slippage. If it never reaches $19.00, the stop never fires.

Stops can also be used to enter a trade: a buy stop above the current price fills only if the stock breaks out above a level you are watching. Traders use this to buy breakouts without staring at a screen.

The weakness of a stop order is the same as a market order: when it triggers, you get whatever price is available. If a stock gaps down overnight from $20 to $15 on bad news, a $19 stop fills near $15, not $19. Stops reduce losses; they do not cap them.

Use a stop order when: protecting any open position. Every position should have one.

Stop-limit orders

A stop-limit order has two prices. When the stop price is hit, the order becomes a limit order at the limit price instead of a market order.

Example. Sell stop at $19.00 with a limit of $18.80. If the stock falls to $19.00, a limit order to sell at $18.80 or better is placed. If the stock keeps falling and trades through $18.80 before you are filled, your order sits unfilled while the stock drops to $17.

That is the trade-off. A stop-limit protects you from a terrible fill in a brief flash crash, but it can leave you holding a position that is falling fast. For a stop-loss that is meant to get you out no matter what, a plain stop order is usually the better choice. Stop-limit orders are more useful for entries, where not getting filled is a minor disappointment rather than a disaster.

Trailing stop orders

A trailing stop is a stop order whose trigger price moves with the stock. You set a trailing distance, either a dollar amount or a percentage. As the price rises, the stop rises with it; if the price falls, the stop stays put. When the price falls back by the trailing distance, the stop fires.

Example. You buy at $20.00 with a 10% trailing stop, so the initial stop is $18.00. The stock rallies to $25.00; the stop automatically rises to $22.50. The stock then falls to $22.50 and the stop triggers, locking in a $2.50 per share gain instead of riding the whole move back down.

Trailing stops are a simple way to let winners run while protecting profits. Set the distance wider than the stock's normal daily wobble, or you will be stopped out by noise.

Time in force: how long an order lives

Alongside the order type, you choose how long the order remains active:

  • Day: expires at the end of the current trading session if not filled. The default at most brokers.
  • Good till canceled (GTC): stays active until it fills or you cancel it, typically for up to 60 to 90 days depending on the broker. Use GTC for stop-loss orders so they do not quietly vanish overnight.
  • Immediate or cancel (IOC): fill whatever is available right now and cancel the rest.
  • Fill or kill (FOK): fill the entire order immediately or cancel it entirely.
  • Extended hours: an option to let a limit order work in the pre-market and after-hours sessions.

The practical rule: entries are usually day orders, protective stops are GTC. Check your broker's rules on whether GTC stops are canceled by corporate actions such as stock splits.

Order types compared

Order typeGuaranteesDoes not guaranteeBest for
MarketExecution (in liquid stocks)PriceUrgent exits
LimitPrice or betterExecutionEntries, profit targets
StopTriggers at stop price, then executesFill price after triggerStop-losses, breakout entries
Stop-limitFill price floor after triggerExecutionEntries, volatile stocks
Trailing stopTrigger follows price upFill price after triggerProtecting profits

Which order type should a beginner use?

A simple, robust routine that avoids most early mistakes:

  1. Enter with a limit order placed a cent or two through the quote if you want a quick fill. Never use a market order in the first or last five minutes of the session or outside regular hours.
  2. Immediately place a GTC stop order at the level where the trade idea is wrong. Calculate your position size from that stop, as explained in our risk management guide.
  3. Take profit with a limit order at your target, or switch the stop to a trailing stop once the trade is comfortably in profit.

Many brokers let you submit all three at once as a bracket order (also called an OCO, one-cancels-other). When one exit fills, the other is canceled automatically. If your broker offers it, use it.

Frequently asked questions

What is the difference between a stop order and a limit order?

A limit order is active immediately and fills only at your price or better. A stop order is inactive until the stock reaches your stop price, and then it becomes a market order that fills at the best available price. Limit orders control price; stop orders automate a trigger.

Can a stop-loss order fail?

A stop order will trigger if the stock trades at or through the stop price, but the fill can be far below it if the stock gaps down, for example overnight on bad news. A stop-limit order can fail to fill at all if the price moves through the limit too quickly. Neither type can guarantee a specific loss.

Do stop orders work after hours?

At most brokers, standard stop orders trigger only during regular trading hours. If a stock gaps at the next open, your stop fires at the opening price, not at your stop price. Check your broker's documentation for its exact rules.

Why did my limit order not fill when the price touched my limit?

Orders at the same price fill in time priority, so other orders placed before yours were ahead in the queue. If the stock only briefly touched your price, there may not have been enough volume to reach your order. Placing your limit slightly through the quote improves your odds of filling.

What is a good trailing stop percentage?

There is no universal number. The distance should be wider than the stock's typical daily range so normal noise does not stop you out. Many swing traders use somewhere between 5% and 15% for individual stocks, with tighter stops for less volatile ETFs. Check the stock's average true range (ATR) as a guide.