An order is an instruction to a broker or exchange to buy or sell, and its type controls how and when it executes. The core choice is between certainty of execution and control over price: a market order fills almost immediately at whatever price is available, while a limit order guarantees the price but may never fill. Stops, trailing stops, brackets and time-in-force settings build on these two basics. Using the wrong order type is one of the most common and avoidable sources of loss.
Key takeaways
- A market order trades immediately at the best available prices but does not guarantee the price, especially in thin or fast markets.
- A limit order sets the worst price you will accept and may not fill at all.
- A stop order is dormant until a trigger price is reached and then becomes a market order (stop) or a limit order (stop-limit).
- Time-in-force settings such as DAY, GTC, IOC and FOK control how long an order stays active.
- Not every broker or exchange offers every order type, and some "stops" are held by the broker rather than the exchange, so check how yours works.
On this page
Market orders
A market order buys at the best available ask or sells at the best available bid, right away. It is the simplest way to get in or out.
The risk is price. A market order takes whatever liquidity is resting in the order book. If the order is larger than the quantity at the best price, it fills at progressively worse prices. The difference between the price you expected and the price you got is called slippage.
Worked example: slippage on a market order
A stock shows these offers to sell:
| Ask price | Shares available |
|---|---|
| $10.00 | 100 |
| $10.02 | 200 |
| $10.05 | 300 |
A market order to buy 500 shares fills as follows:
- 100 shares at $10.00 = $1,000
- 200 shares at $10.02 = $2,004
- 200 shares at $10.05 = $2,010
- Total: $5,014 for 500 shares, an average of $10.028
The trader saw $10.00 on the screen but paid 2.8 cents a share more on average, or $14 in total. In a thin market or during news, the gap can be far larger. See bid-ask spread and liquidity.
Use when: speed matters more than a few ticks, in liquid markets, or to exit a position urgently.
Limit orders
A limit order sets a maximum price for a buy or a minimum price for a sell. A buy limit at $9.95 fills only at $9.95 or lower; a sell limit at $10.10 fills only at $10.10 or higher.
If the limit is away from the current price, the order rests in the order book until the market reaches it, where it waits in line behind earlier orders at the same price. Reaching the price does not guarantee a fill if there are orders ahead of yours.
A limit order placed at or beyond the current market price (for example, a buy limit above the current ask) is called a marketable limit order. It fills immediately like a market order but caps how much slippage you accept.
Use when: price matters more than certainty, when entering at a planned level, or when taking profit at a target.
Stop orders
A stop order (often called a stop-loss when used to exit) stays inactive until the market trades at or through a trigger price, called the stop price. It then becomes a market order.
- A sell stop sits below the current price and is used to exit a long position or enter a short.
- A buy stop sits above the current price and is used to exit a short position or enter on a breakout.
Because the triggered order is a market order, the fill can be worse than the stop price. If the market gaps past your stop, for example overnight, you are filled at the first available price, which can be far away. Where to place stops is covered in stop-loss strategies.
Stop-limit orders
A stop-limit order has two prices: a stop price that triggers it and a limit price that caps the fill. Once triggered, it becomes a limit order.
Worked example: stop vs stop-limit in a gap
A trader owns 100 shares bought at $50 and wants protection near $48.
- With a sell stop at $48, if the stock opens the next morning at $46 after bad news, the stop triggers and fills near $46. The loss is about $4 a share, or $400.
- With a sell stop-limit, stop $48 and limit $47.80, the same gap triggers the order but $46 is below the $47.80 limit, so nothing fills. The trader still owns the shares. If the price keeps falling to $40, the loss grows to $1,000.
A stop-limit protects against a bad fill but can leave you holding a position you wanted to exit. A plain stop gets you out but at an uncertain price.
Trailing stops
A trailing stop moves the stop price automatically as the market moves in your favor, by a fixed amount or percentage, and never moves it back.
Example: you buy at $50 with a $2 trailing stop, so the stop starts at $48. The stock rises to $56, and the stop follows to $54. The stock then falls; at $54 the stop triggers and sells at the market, perhaps at $53.95. You lock in about $3.95 a share of the $6 peak gain. If the stock had instead fallen straight from $50, the stop would have triggered at $48.
Trailing stops are simple but mechanical. A trail that is too tight gets hit by normal noise; one that is too loose gives back much of the gain.
Combined orders
- OCO (one cancels the other): two orders linked so that when one fills, the other is canceled. A common use is a take-profit limit above the price and a stop below it.
- Bracket order: an entry order with an attached OCO pair. For example, buy at $50, with a stop at $48 and a take-profit at $55. Once the entry fills, both exits go live, and whichever fills first cancels the other.
- OTO (one triggers the other): a second order that becomes active only after the first fills.
Brackets help enforce a trading plan because the exit rules exist before emotions get involved.
Time in force
Time in force says how long an order stays active.
| Setting | Meaning | Typical use |
|---|---|---|
| DAY | Expires at the end of the trading session if not filled | Default at many stock brokers |
| GTC (good till canceled) | Stays active until filled or canceled; many brokers cancel it after a set period | Resting stops and targets on swing trades |
| IOC (immediate or cancel) | Fills whatever it can immediately; cancels the rest | Taking available liquidity without leaving a resting order |
| FOK (fill or kill) | Fills the whole order immediately or cancels it entirely | When a partial fill is useless |
| GTD (good till date) | Active until a chosen date | Orders tied to an event |
Some brokers also offer orders for the opening or closing auction, and orders that are valid in extended hours. Many stock brokers accept only limit orders outside regular hours; see pre-market and after-hours trading.
Specialist order types
- Post-only: a limit order that is canceled if it would trade immediately, so it only ever adds liquidity to the book. Common on crypto exchanges, where adding liquidity often earns lower "maker" fees. See trading costs and fees.
- Reduce-only: an order that can only shrink an existing position, never open or flip one. Common on crypto futures and perpetual futures exchanges, and useful for stops and take-profits so a stale order cannot open a new position by accident.
- Iceberg (reserve) order: a large limit order that shows only a small part of its size in the book at a time, refilling as each part trades. Institutions use it to avoid revealing their full interest.
- Market-if-touched (MIT): becomes a market order when a price is touched, but on the favorable side, like a limit order that converts to a market order.
Common mistakes
- Using market orders in thin markets. Small caps, illiquid crypto tokens and extended hours can produce shocking fills.
- Assuming a stop guarantees the price. A standard stop becomes a market order; gaps fill wherever the market opens. Only a guaranteed stop, offered by some CFD brokers for a fee, guarantees the price.
- Forgetting GTC orders. An old order left in the system can fill months later when you no longer want it.
- Placing stops exactly at obvious round numbers. Many other stops sit there, and price often moves quickly through those levels.
- Not knowing where your stop is held. Some brokers hold stops on their own servers and send them only when triggered; behavior during outages and gaps differs.
FAQ
What is the difference between a market order and a limit order?
A market order executes immediately at the best available price but does not guarantee the price. A limit order guarantees a maximum buy price or minimum sell price but may not execute.
What is the difference between a stop and a stop-limit order?
Both trigger at a stop price. A stop then becomes a market order and will fill at an uncertain price, while a stop-limit becomes a limit order that will not fill beyond its limit price, so it may not fill at all.
Does a stop-loss order guarantee my exit price?
No. A standard stop-loss becomes a market order when triggered, so in a fast market or a price gap it can fill well below the stop price. Only a guaranteed stop, where offered, fixes the price.
What does GTC mean in trading?
GTC means good till canceled. The order stays active across sessions until it fills or you cancel it, although many brokers cancel GTC orders automatically after a set period.