TL;DR. Every stock order is really three choices: how much price control you want (market vs limit), what trigger fires the order (none, stop, trailing), and how long it stays open (day, good-til-canceled, immediate-or-cancel, fill-or-kill). Combine those choices and you get every order type a U.S. broker offers — from the boring market order most retail accounts default to, all the way to a trailing stop-limit with an OCO bracket. Get the combination wrong and you can pay slippage on a fast tape, miss a fill entirely, or sell at the worst possible price after a gap-down. This is the field guide.
The three questions every order answers
A stock order is just a written instruction to your broker. The instruction has to answer three questions:
- Price control. Will you accept whatever price the market hands you (a market order), or do you require a specific price or better (a limit order)?
- Trigger. Should the order go to the market right away, or wait until a condition is met (a stop or trailing stop)?
- Time-in-force. How long should the order stay alive? The session (DAY), until you cancel it (GTC), or only this instant (IOC, FOK)?
Almost every order type you will ever see is a combination of answers to those three questions. The exotic-sounding labels — stop-limit, trailing-stop-limit, marketable limit, one-cancels-other — are just specific combinations.
Market orders
The U.S. Securities and Exchange Commission defines a market order on its investor education site as “an order to buy or sell a stock at the current market price.” The SEC notes that market orders “guarantee that the order will be executed, but do not guarantee the execution price.” In plain English: the trade will almost certainly happen, but the price you get is whatever liquidity is available at the moment your order reaches the exchange. [SEC, market order]
That gap between the price you saw on screen and the price you actually got is called slippage. On a heavily traded mega-cap like Apple or Microsoft during regular hours, slippage on a 100-share market order is usually pennies and rarely matters. On a thinly traded small-cap, on a stock halted news, or in the pre-market and after-hours sessions, slippage can be hundreds of basis points. Market-on-open and market-on-close orders have their own quirks: they are batched into the opening or closing auction and fill at the cross price, not the last quote you saw.
When to use a market order. Small size, deeply liquid name, regular trading hours, and you genuinely care about being filled right now more than about the exact price.
Limit orders
A limit order is “an order to buy or sell a security at a specific price or better.” The SEC adds the critical detail: “a buy limit order can only be executed at the limit price or lower, and a sell limit order can only be executed at the limit price or higher.” [SEC, types of orders]
Worked example. A stock is quoted $50.04 bid / $50.06 ask. You place a buy limit at $50.05. Three things can happen:
- The ask drops to $50.05 (or a seller hits your bid at $50.05). You fill at $50.05.
- The market drifts down further to $50.03 ask. You fill at $50.03 — better than your limit.
- The market rallies and the ask never comes back to $50.05. Your order sits unfilled, and the session closes (or your GTC keeps it alive).
That last bullet is the cost of a limit order: price certainty in exchange for execution uncertainty. If the stock you wanted to buy rips 5% while your limit sits one penny under the market, you spent that 5% to save one cent.
When to use a limit order. Default for any size that could move the market, any time you care more about the price than about being filled instantly, any time you are trading an illiquid name, and any time you are trading in the pre-market or after-hours — where the SEC explicitly warns that quotes can be thin and prices unrepresentative.
Stop and stop-loss orders
A stop order is one of the most-misunderstood order types. The SEC defines it as “an order to buy or sell a stock once the price of the stock reaches a specified price, known as the stop price. When the specified price is reached, your stop order becomes a market order.” [SEC, stop order]
The key words are “becomes a market order.” The stop price is only the trigger; once it is hit, all of the market-order risks above apply to the order.
Two flavors:
- Sell stop (often called a “stop-loss”): sits below the current price. Used to limit downside on a long position or to enter a short on a breakdown.
- Buy stop: sits above the current price. Used to cover an existing short on a rally, or to enter a long on a breakout above resistance.
Worked example. You own 100 shares of XYZ purchased at $50. You enter a sell stop at $45. The stock drifts down to $45.00 and trades there — your stop triggers and is sent to the market as a market sell order. If the book is healthy, you fill near $45.00. If XYZ released bad news and gapped open at $42, you fill near $42 — not $45. The stop price was the trigger, not the protected price.
The SEC warns about exactly this risk: “the triggering price may result from short-term fluctuations,” and “the actual execution price could differ from the stop price, particularly in volatile markets.”
Stop-limit orders
A stop-limit order tries to solve the gap-down risk of a vanilla stop by making the triggered order a limit instead of a market. You set two prices: the stop price that fires the order, and the limit price the resulting limit order will use.
Worked example. You own XYZ at $50. You enter a sell stop-limit with stop $45 and limit $44. XYZ trades down to $45 — the stop fires and a sell limit at $44 is placed. If XYZ stays at $44 or higher, you fill at $44 or better. If XYZ gaps straight to $40, your limit at $44 sits unfilled and the stock keeps falling.
Stop-limits give you price control on the way out. The price of that control is the possibility of no fill at all in the very scenario you set the stop for: a fast, ugly decline. Use stop-limits when you would genuinely rather hold the position than sell it at a fire-sale price. Use a plain stop when the priority is getting out regardless of the print.
Trailing stop orders
A trailing stop is a stop that automatically follows price in your favor and stays put when it moves against you. The trailing amount can be quoted as a fixed dollar amount or as a percentage of the reference price.
Worked example. You bought XYZ at $50 and entered a sell trailing stop with a $5 trail. The stop initially sits at $45. The stock rallies to $60 — the trailing stop ratchets up with each new high and sits at $55. The stock falls back to $55, the stop triggers, and a market sell is sent. You exit near $55, locking in a roughly $5 gain that you would have given back with a static $45 stop.
Trailing stops are most useful for systematically riding trends and stepping aside when momentum breaks. The trade-off: a trail that is too tight will get knocked out by normal day-to-day volatility (whipsaws); a trail that is too wide gives back a lot of paper gains before triggering. Sizing the trail to the stock’s typical daily range (often measured with Average True Range) is the standard practitioner approach.
Time-in-force: how long the order stays open
Every order has a time-in-force that tells the broker when to give up. The four most common:
- DAY. Cancels automatically at the end of the regular trading session. The default at most U.S. brokers.
- GTC (good-til-canceled). Stays open across sessions until filled or canceled. Most U.S. brokers cap GTC at 60 to 90 calendar days for risk reasons — the exact cap varies by firm, so check your broker’s policy.
- IOC (immediate-or-cancel). Fill as much as you can right now at the limit price (or better); cancel any unfilled remainder. Useful for sweeping liquidity without leaving a resting order on the book.
- FOK (fill-or-kill). Fill the order in its entirety immediately, or cancel everything. No partial fills. Used by traders who need a specific full size at a specific price or do not want to trade at all.
A close cousin is the all-or-none (AON) order. The SEC defines AON as “an order to buy or sell a stock that must be executed in its entirety, or not executed at all.” Unlike a fill-or-kill, an AON that cannot fill immediately keeps working until it can. [SEC, all-or-none]
The comparison matrix
The table below summarizes the canonical order types. The two columns that matter most in practice are execution guarantee (will I get filled?) and price guarantee (do I know the price?). Every order type is a different trade-off between those two.
| Order type | Execution guarantee | Price guarantee | Best for |
|---|---|---|---|
| Market | Near-certain (if a market exists) | None | Small size, liquid names, regular hours, speed matters |
| Limit | Conditional on price reaching limit | Yes, at limit or better | Any time slippage matters more than certainty |
| Stop (stop-loss) | Near-certain once triggered (becomes market) | None after trigger | You need to be out regardless of print |
| Stop-limit | Not guaranteed (can sit unfilled) | Yes, at limit or better | You would rather hold than sell at a fire-sale price |
| Trailing stop | Near-certain once triggered (becomes market) | None after trigger | Riding trends, locking in gains as price advances |
| IOC limit | Partial OK; remainder cancels | Yes, at limit or better | Sweeping displayed liquidity without leaving a trace |
| FOK limit | All-or-nothing, immediate | Yes, at limit or better | You need a specific full size or no trade at all |
| AON limit | All-or-nothing, working order | Yes, at limit or better | Block-style orders where partial fills are unacceptable |
Chart 1: how a limit order sits in the book
The schematic below shows a simplified order book around a National Best Bid and Offer (NBBO) of $50.04 / $50.06. Buy limits sit at or below the bid; sell limits sit at or above the offer. A buy limit placed above the offer is “marketable” — it will execute immediately against the resting offer rather than wait passively in the book.
Chart 2: how a trailing stop ratchets up
A trailing stop only moves in one direction. As the stock makes new highs, the stop is dragged up by the trailing amount. When the stock pulls back without making a new high, the stop stays put. When price touches the stop, it triggers — and from that moment it behaves exactly like a market order on a vanilla stop.
Common mistakes
- Using market orders outside regular hours. Pre-market and after-hours sessions are thinly traded. A 200-share market order in a small-cap at 7:30 a.m. can fill several percent away from the previous close.
- Setting stops too tight. A stop placed inside a stock’s normal daily range is just a guarantee of getting whipsawed out before any real move develops. Size stops to volatility, not to round numbers.
- Placing stops at obvious levels. A sell stop at $99.99 on a stock that ranges around $100 is sitting in plain sight. Algorithms scan for clustered stops because triggering them produces a free liquidity event.
- Using a stop-limit when you actually need an exit. Stop-limit will not protect you in a gap-down beyond the limit price. If the goal is “get me out, period,” a plain stop is the right tool.
- Forgetting about GTC orders. A good-til-canceled order entered months ago can suddenly fill on a one-day anomaly (an exchange glitch, a flash crash, an earnings gap) and leave you with a position you no longer wanted. Review the open-orders blotter regularly.
What to learn next
Order types are the first layer of microstructure. The next layers are where the real money is lost and saved:
- Bid-ask spread and slippage. The spread is the spread; effective slippage on a real order is usually larger.
- Order routing and Payment for Order Flow (PFOF). Where your retail order actually goes after you click buy — wholesaler, lit exchange, or dark pool — and what the broker gets paid for routing it.
- The Level II quote. The full visible book, beyond just the NBBO. Once you see Level II, the schematic above stops being a schematic.
- Pre-market and after-hours session rules. Which order types are accepted, which exchanges are open, and why “last trade” in extended hours can be a single 10-share print 3% away from value.
Sources
- U.S. Securities and Exchange Commission, Investor.gov — Types of Orders (market, limit, stop, buy stop, sell stop)
- U.S. Securities and Exchange Commission, Investor.gov Glossary — Market Order
- U.S. Securities and Exchange Commission, Investor.gov Glossary — Stop Order
- U.S. Securities and Exchange Commission, Investor.gov Glossary — All-Or-None Order
- U.S. Securities and Exchange Commission, Investor.gov Glossary — Limit Order
- U.S. Securities and Exchange Commission, Investor.gov Glossary — Good-Til-Canceled (GTC) Order
Disclosure: This article was produced with AI assistance and reviewed before publication. It is for informational purposes only and is not investment advice.