Stop Orders
A stop order is a dormant order that activates only when the market touches a specified trigger price, at which point it is released to the book as either a market order (SL-M) or a limit order (SL).
Quick answer: A stop order is a dormant order that activates only when the market touches a specified trigger price, at which point it is released to the book as either a market order (SL-M) or a limit order (SL).
In simple words
A stop order sits inactive until the price hits a trigger you set, then springs into action. Traders use it to cut losses automatically: put a sell stop below your long entry and if the price falls to the trigger, an exit order fires. The important detail is what fires — a stop-market takes any price to get out, while a stop-limit refuses to sell below a floor you set.
Purpose
Stop orders automate risk discipline. They let a system exit a losing position or enter on a breakout without a human watching the screen, converting a mental stop into a pre-committed, exchange-side instruction.
Visual explanation
Stop Orders
A resting stop below entry, its trigger price, and the two release modes: SL-M to market and SL to a limit.
Professional explanation
Trigger price versus order price
Every stop order has two logical prices. The trigger (or stop) price is the level that, once traded through, activates the order. For a stop-limit (SL on NSE terminology), there is also a limit price that caps the fill once activated. A sell stop-loss to protect a long is placed with the trigger below the current price; when the last traded price reaches the trigger, the dormant order is injected into the book. Until then it is not in the book at all and provides no liquidity.
SL-M versus SL on the NSE
The NSE distinguishes SL-M (stop-loss market), which releases a market order on trigger and therefore guarantees an exit but not a price, from SL (stop-loss limit), which releases a limit order at your specified limit price and therefore guarantees a price floor but not an exit. The choice is the same market-versus-limit trade-off, but with far higher stakes because a stop fires exactly in the fast, one-sided conditions where the difference bites. Note that the NSE has at times disabled plain SL-M for certain segments such as options, forcing traders to use SL with a wide limit — a broker-specific detail worth checking.
The gap-risk problem
A stop does not guarantee you exit at the trigger. If the price gaps — jumps past the trigger without trading at intermediate levels, common overnight or on news — an SL-M fills at the first available price beyond the gap, which can be far worse than the trigger. An SL limit is even more exposed: if the market gaps clean through your limit price, the order activates but cannot fill, and you are left holding the position with no protection at all. Gap risk is the single most misunderstood property of stops.
Trigger logic and slippage stacking
On activation, an SL-M becomes a market order and inherits every market-order cost: spread, impact and any further adverse move. Because stops trigger in momentum, the book on your exit side is often thin and moving away, so realised slippage on a triggered stop is typically worse than on a routine market order. This is why stop slippage should be modelled with a wider assumption than normal execution slippage.
Stops as entries, not just exits
Stops are not only for exits. A buy stop placed above resistance is a classic breakout entry: it stays dormant until the price breaks out, then fires. Systematic breakout and momentum strategies rely on this. The same trade-offs apply — an SL-M breakout entry guarantees participation but pays up into the move, while an SL breakout entry risks not filling if the breakout is explosive and gaps through the limit.
Where the stop actually lives
A crucial engineering point: a stop order can be held at the exchange, at the broker, or purely in your own system. An exchange-native or broker-held stop fires even if your connection drops; a stop enforced only in your Python loop dies with your process or your internet. For an automated system this determines whether your risk control is resilient. Retail GTT stops on the NSE are broker-held triggers, not resting exchange orders, so their behaviour on a fast gap depends on the broker's trigger-evaluation latency.
SL-M (stop-loss market) vs SL (stop-loss limit)
| Aspect | SL-M (market on trigger) | SL (limit on trigger) |
|---|---|---|
| Exit certainty | High — fills at any price | Not guaranteed — may miss on a gap |
| Price certainty | None — can slip badly | Capped at the limit price |
| Behaviour on a gap | Fills beyond the gap, worse price | May not fill at all, no protection |
| Best for | Ensuring you get out | Controlling worst exit price |
| NSE availability | Restricted in some segments | Widely available |
| Main risk | Slippage on trigger | Being left unprotected |
Practical example
Illustrative example (Indian market)
You are long one lot of Bank Nifty (lot 30) from 52,000 and decide to risk 200 points. You place a sell SL-M with a trigger of 51,800. Intraday, price drifts to 51,800, the stop activates as a market sell, and in an orderly book you exit around 51,795 — roughly your planned 205-point loss, or about 205 x 30 = ₹6,150. Now suppose bad news hits overnight and Bank Nifty opens at 51,400. Your SL-M triggers on the open and fills near 51,400, a 600-point loss (₹18,000) — three times your intended risk, because the price gapped past your trigger. Had you used an SL with a limit at 51,780, it would not have filled at all on that gap, leaving you still long into the fall.
On the NSE, brokers have periodically disabled SL-M orders for the F&O segment during volatile regimes to reduce runaway market fills, requiring traders to place SL (limit) with a buffer between trigger and limit. A common practice is to set the limit a few points beyond the trigger (for a sell, limit below trigger) so the order behaves almost like a market order but still refuses a catastrophic fill.
Advantages
- Automates loss-cutting and breakout entries without watching the screen
- Converts a mental stop into a pre-committed, exchange- or broker-side instruction
- SL-M gives high exit certainty when getting out is the priority
- SL limit caps the worst price you will accept on the exit
Limitations
- No protection against gaps — price can jump past the trigger
- SL-M can slip badly because stops fire in thin, fast, one-sided books
- SL limit can fail to fill on a gap, leaving you unprotected in the worst case
- A stop held only in your own code dies if your process or connection fails
- Clustered stops at round numbers can be swept, triggering you out before a reversal
Why it matters in practice
- Stop slippage is often the largest single source of a live drawdown exceeding its backtested value
- Whether a stop is exchange-held or code-held decides if risk control survives an outage
Common mistakes
- Believing a stop guarantees an exit at the trigger price, ignoring gap and slippage risk
- Using an SL limit for critical protection and getting no fill when the market gaps through it
- Backtesting stops as filling exactly at the trigger price, hiding real triggered-stop slippage
- Placing stops at obvious round numbers where they cluster and get swept
- Enforcing the stop only inside a Python loop that dies with the process, leaving positions unprotected
- Confusing a broker GTT trigger with a resting exchange stop and misjudging its behaviour on a fast move
Professional usage
Professional systems treat the stop as a risk primitive that must be resilient, not just present. They prefer exchange- or broker-held triggers so protection survives process and network failure, they budget explicit extra slippage for triggered stops in their models, and they combine hard stops with a separate portfolio-level kill switch so a single gap cannot blow through the risk budget. Many quant desks also avoid tight stops on noisy instruments precisely because stop-clustering and mean-reverting noise turn stops into a tax; they size positions so the strategy survives normal adverse moves without needing a hair-trigger exit.
Key takeaways
- A stop order is dormant until its trigger price is touched, then releases a market (SL-M) or limit (SL) order.
- SL-M guarantees an exit but not a price; SL guarantees a price but not an exit — and can leave you unprotected on a gap.
- Stops do not defend against gaps; model triggered-stop slippage wider than normal.
- Hold stops at the exchange or broker, not only in your own code, so risk control survives failures.
Frequently asked questions
What is a stop order?
What is the difference between SL-M and SL on the NSE?
What is a trigger price?
Does a stop-loss guarantee I exit at my stop price?
What is gap risk on a stop order?
Should I use SL-M or SL for a stop-loss?
Why does my triggered stop slip more than a normal market order?
Can I use a stop order to enter a trade?
Why did my SL limit order not fill?
What is stop clustering and stop hunting?
Where is my stop order actually held?
How should I model stops in a backtest?
Why did the NSE disable SL-M for options at times?
Is a trailing stop a type of stop order?
Voice search & related questions
Natural-language questions people ask about Stop Orders.
What is a stop-loss order?
What is the difference between SL and SL-M?
Does a stop-loss protect me from a gap down?
Why did my stop-loss fill so far from my trigger?
Can I use a stop order to buy a breakout?
Where should I keep my stop-loss, in my code or at the broker?
Sources & references
Last reviewed 11 July 2026. Educational content only — not investment advice. Markets and rules change; verify current conventions with SEBI, NSE/BSE and your broker.