Library · Trading Mechanics
Order Types
An order type is the set of conditions attached to an order: whether it trades immediately, only at a chosen price, or only after a trigger price is reached.
Why it matters
An exchange does exactly what an order says, no more. The order type is the language used to say it. Choosing between types is choosing which uncertainty to accept: an unknown price or an unknown fill.
Most surprises new traders meet, such as a fill far from the expected price or an order that never executed, come from an order type doing precisely what it is designed to do.
How it works
Nearly every order type is built from two basic instructions and one condition.
- Market: trade now, at whatever the best available price is.
- Limit: trade only at a stated price or better, and wait if that is not possible yet.
- Trigger: do nothing until the market reaches a stated price, then send one of the two instructions above.
A market order and a limit order are the first two on their own. A stop order is a trigger plus a market order. A stop-limit order is a trigger plus a limit order.
In plain words
Think of instructions left with a helper at an auction. “Buy it whatever it costs” is a market order. “Buy it only if it goes for 97 or less” is a limit order. “If the bidding ever reaches 103, start buying” is a stop order. The helper follows the words exactly and never guesses what you meant.
How to read it
- Sell limit105Rests in the order book above the market. Fills at 105 or higher.
- Buy stop103Dormant. Becomes a buy order only if price rises to 103.
- Current price100A market order trades here, right now, at the best available price.
- Buy limit97Rests in the order book below the market. Fills at 97 or lower.
- Sell stop95Dormant. Becomes a sell order only if price falls to 95.
| Order type | Instruction | What is fixed | What is uncertain |
|---|---|---|---|
| Market | Trade now at the best available price | That it trades, if anyone is on the other side | The fill price |
| Limit | Trade at this price or better | The worst acceptable price | Whether and when it fills |
| Stop (stop-market) | When the trigger is reached, send a market order | That an order is sent on trigger | The fill price, which can be worse than the trigger |
| Stop-limit | When the trigger is reached, send a limit order | The worst acceptable price | Whether it fills at all |
TRADE NOW
Market orders and triggered stop-market orders.
- Execution is near certain in a liquid market
- The fill price is not known in advance
- Takes liquidity from the book
PRICE FIRST
Limit orders and stop-limit orders.
- The worst acceptable price is fixed
- A fill may be partial or never happen
- Can add liquidity to the book
Going deeper
Stop loss and take profit are uses, not new types
A stop loss is a stop order whose job is to close a position that is losing. A take profit is an order whose job is to close a position that is winning. The names describe the purpose. The mechanics underneath are still market, limit and trigger.
Extra instructions
Most exchanges let an order carry additional conditions. The names and availability differ between venues.
| Instruction | What it does |
|---|---|
| Good till cancelled (GTC) | The order stays active until it fills or is cancelled |
| Immediate or cancel (IOC) | Fill whatever is possible right now and cancel the rest |
| Fill or kill (FOK) | Fill the whole order right now or cancel all of it |
| Post-only | Cancel the order if it would trade immediately, so it can only add liquidity |
| Reduce-only | The order may shrink an existing position but can never open or enlarge one |
The first three are known as time in force settings.
Combinations
Exchanges also offer packaged combinations. A trailing stop moves its trigger along behind the price by a set distance. A one-cancels-the-other (OCO) pair links two orders so that when one fills, the other is cancelled. These are conveniences built from the same parts.
Four hypothetical orders, one price pathHypothetical illustration
An asset is quoted at 100.00 bid and 100.10 ask. A trader sends four separate orders:
- A. A market buy. It fills at once at about 100.10.
- B. A buy limit at 97. It rests in the book.
- C. A sell stop with a trigger at 95. It stays dormant.
- D. A sell limit at 105. It rests in the book.
Price then dips to 97.50 and later climbs to 105.20.
Order B never fills, because price did not reach 97. Order C never triggers, because price did not reach 95. Order D fills at 105 when price trades up through it. Of four instructions, two became trades, and each behaved exactly as written.
What it does NOT mean
- A market order does not mean “the price on screen”. It means the best price available when the order arrives, which may be different. See slippage.
- A limit order is not a reservation. If the market does not reach the limit price, or reaches it without enough size, the order stays unfilled.
- A stop order does not fix the exit price. The trigger price starts the order. The fill happens at whatever the market offers next.
- A more complex order type is not a safer one. Extra conditions add ways for an order not to execute.
Common mistakes
- Mixing up limit and stop. A buy limit sits below the current price. A buy stop sits above it. Entering one in place of the other can cause an immediate, unintended fill.
- Assuming every exchange uses the same names. “Stop”, “stop-limit” and “take-profit” can be implemented differently from venue to venue.
- Forgetting resting orders. A good-till-cancelled order stays live for days or weeks unless it is removed.
Risks and limitations
- No order type removes market risk. Each one only chooses which uncertainty is accepted.
- Triggered orders depend on the exchange being online and processing normally at that moment.
- In fast or thin markets, market-type orders can fill far from the last price and limit-type orders can be skipped.
- Order behaviour is defined by each exchange’s own rules, which can change.
Key takeaway
Order types are combinations of three ideas: trade now, trade only at a price, and wait for a trigger. Each one fixes either the price or the fill, never both.
Sources and further reading
- Trading and Exchanges: Market Microstructure for Practitioners, Larry Harris (2003). Chapter on order types and their properties
- Order Types (opens in a new tab), FINRA. Defines market, limit, stop and stop-limit orders