Key points
- Every order trades off price certainty against execution certainty; no type gives you both.
- A stop-loss order is a trigger plus an order: SL places a limit order when triggered, SL-M places a market order.
- GTT and after-market orders are broker features that later send ordinary orders to the exchange.
- From 7 September 2026 the NSE and BSE pre-open auction runs in phases from 9:00 to 9:15 a.m., with market orders accepted only in the first phase.
- Price bands and circuit breakers can reject orders or halt trading, so a stop-loss may not fill where you planned.
Why the order type matters
When you press buy or sell, the broker converts your instruction into an exchange order with three essential attributes: the price condition (at any price, or at a stated limit), any trigger condition, and the validity (how long the order may wait). The exchange's matching engine then compares it against the order book. If you have not yet read how the order book and bid-ask spread work, start with our stock market basics guide.
Two risks pull in opposite directions. Execution risk is the chance that your order never fills. Price risk is the chance that it fills at a worse price than you expected, which traders call slippage. Each order type below sits somewhere between those risks.
Market and limit orders: a worked example
Suppose an illustrative stock has the following order book. The numbers are invented for teaching and do not describe any real security.
| Bid quantity | Bid price | Ask price | Ask quantity |
|---|---|---|---|
| 300 | 499.50 | 500.00 | 200 |
| 500 | 499.00 | 500.50 | 400 |
| 800 | 498.50 | 501.00 | 1,000 |
A market order to buy 500 shares takes the cheapest offers first: 200 at ₹500.00, then 300 at ₹500.50. Your average price is ₹500.30, not the ₹500.00 shown as the best ask. In a thin or fast market the gap can be much larger, which is why many brokers apply protection limits to market orders and some segments restrict them.
A limit order to buy 500 shares at ₹500.00 fills 200 shares immediately, and the remaining 300 wait in the book at ₹500.00 until a seller arrives or the order expires. You control the price but may end up with a partial position, or none at all if the market moves away.
Average price = Σ (quantity filled at each level × price at that level) ÷ total quantity filledIllustrative: (200 × 500.00 + 300 × 500.50) ÷ 500 = ₹500.30. Your contract note shows the actual fills and charges.
Stop-loss orders: SL and SL-M
A stop-loss order rests in the exchange system with a trigger price and does nothing until the market trades at or through that trigger. In India two forms are common. A stop-loss limit order (SL) becomes a limit order at the price you set once triggered. A stop-loss market order (SL-M) becomes a market order once triggered. Some brokers and segments restrict SL-M orders, so check what your broker permits.
Worked example: protecting a long position
You hold 100 shares bought at ₹500 and decide to exit below ₹480. An SL sell with a trigger of ₹480 and a limit of ₹478 activates when the price trades at ₹480 and then sells only at ₹478 or better. If the price drops quickly from ₹481 to ₹470, the triggered order may sit unfilled while the loss grows. An SL-M with the same trigger would sell at whatever bids exist after triggering, perhaps ₹476 or ₹471: you exit, but at an uncertain price.
Validity: day orders, IOC and broker-side instructions
On Indian exchanges, regular orders usually carry one of two validities. A day order stays in the book until it fills, you cancel it or the session ends. An immediate-or-cancel (IOC) order fills whatever it can at once and cancels the rest; it is useful when you want no resting order left behind. Exchanges have offered other variations, but day and IOC are the ones most retail platforms show.
Longer-lived instructions are mostly built by brokers rather than exchanges:
- Good-till-triggered (GTT): the broker stores a trigger, often for months, and sends a normal limit order to the exchange when the trigger is touched. It is not in the exchange order book until then, so it has no queue position and may not fill if the price jumps past your limit.
- After-market order (AMO): an order entered outside trading hours that the broker queues and submits when the next session opens. It meets whatever opening price the auction produces.
- Bracket-style and cover orders: combinations of an entry with a pre-set stop and target. Availability changes over time and differs between brokers.
Because these features run on the broker's systems, their behaviour depends on its rules, outages and margin checks. Read the broker's documentation, and do not assume two brokers implement a feature with the same name in the same way. Our broker connectivity guide discusses why this matters for automated workflows.
Iceberg orders and disclosed quantity
A large order displayed in full can move the market against you before it fills. An iceberg order splits a large quantity into smaller legs; only the current leg is visible, and the next leg is released when it fills. Older platforms offer a related idea, disclosed quantity, where only part of the order appears in the book.
Hiding size reduces information leakage but does not remove market impact, and each leg may get a fresh queue position. SEBI's January 2026 circular states that iceberg orders are not allowed in the pre-open auction or in the closing auction, where every order must be shown in full. Stop-loss orders are also not accepted in the closing auction.
Call auctions at the open and the close
Instead of starting with continuous matching, the cash market begins with a pre-open session: a call auction in which orders are collected for a few minutes and then matched at a single equilibrium price, the price at which the most quantity can trade. SEBI's circular of 16 January 2026 restructured this session from 7 September 2026.
| Time | Phase | What is allowed |
|---|---|---|
| 9:00–9:05 a.m. | Order entry, phase one | Limit and market orders can be entered, modified or cancelled |
| 9:05–9:10 a.m. | Order entry, phase two | Limit orders only; market orders cannot be modified or cancelled; entry closes at a random moment between 9:08 and 9:10 |
| 9:10–9:12 a.m. | Matching | Equilibrium (opening) price calculated and orders matched |
| 9:12–9:15 a.m. | Transition | Unmatched orders move to continuous trading, which starts at 9:15 |
The same circular introduced a closing auction session (CAS) in the cash segment from 3 August 2026, replacing the old method of taking a volume-weighted average of the last half hour as the closing price. It initially ran from 3:15 to 3:35 p.m. SEBI's circular of 15 October 2026 shortens it to ten minutes, 3:30 to 3:40 p.m., with effect from 7 December 2026, and also changes when derivatives stop trading. Because these timings are changing during 2026 and 2027, confirm the current schedule on the exchange website before relying on any time.
Auctions matter to traders because opening and closing prices are now discovered in a batch. An AMO or market order placed for the open takes part in that auction; a strategy that measures performance against the close should use the auction-determined closing price.
Price bands, circuit filters and rejected orders
Exchanges reject orders priced outside a stock's permitted range for the day. Stocks without derivatives usually carry a fixed daily band, commonly one of 2%, 5%, 10% or 20% either way, which the exchange revises periodically. Stocks with derivatives contracts do not have a fixed band but are subject to dynamic limits that start around 10% and can be relaxed in steps when the market trends. These are often called circuit limits.
Separately, market-wide circuit breakers are linked to the NIFTY 50 and SENSEX. Index moves of 10%, 15% or 20% trigger halts across equity and equity-derivative markets, with the length of the pause depending on the level and the time of day. Our guide to equity markets in India covers the trading day and these limits in more detail.
- A limit price outside today's band is rejected, not queued.
- A stock frozen at its upper band may have only buyers, so a buy order waits; frozen at the lower band, sellers wait.
- Exchanges can change a stock's band at short notice, often after surveillance reviews, so check it before placing orders that depend on it.
Choosing an order type in practice
| Goal | Order type usually considered | Trade-off to accept |
|---|---|---|
| Get in or out now in a liquid stock | Market or marketable limit | Some slippage |
| Pay no more than a set price | Limit (day) | May not fill |
| Exit if the price falls through a level | SL or SL-M | Gaps can skip the trigger |
| Wait weeks for a level without watching | Broker GTT | No exchange queue; broker-dependent |
| Avoid leaving a resting order | IOC | Unfilled balance is cancelled |
A practical habit is to write the order type, price, trigger and validity into your trading plan before the session, then compare what actually happened with your contract note. If you are building rules for systematic trading, test them first with paper trading and our paper testing tutorial. AlgoStok's workspace supports paper workflows only; live order execution is disabled.
Frequently asked questions
Is a GTT the same as a stop-loss order?
Not quite. A stop-loss order sits in the exchange system for the day. A GTT is stored by the broker, sometimes for many months, and only sends an order to the exchange when the trigger is reached. The two behave differently in gaps and outages.
Why did my limit order not fill when the price touched my level?
Orders at the same price fill in time priority. If others were ahead of you in the queue and the price touched your level only briefly, the available quantity may have gone to them before your turn.
Can I place orders before 9:15 a.m.?
Yes, during the pre-open session from 9:00 a.m., subject to the phase rules, or as an after-market order with your broker the previous evening. Either way, the order takes part in the opening auction or waits for continuous trading.
Why was my order rejected as outside the price band?
Each stock has a permitted price range for the day. A limit price beyond it is rejected. Check the current band on the exchange or your broker's order window before placing the order.
Sources and further reading
Facts in this guide were checked against these publications on the review date shown above. Rules, rates and contract specifications change; confirm the current version with the source.
- Introduction of Closing Auction Session in the equity cash segment and modifications in the pre-open auction session (16 January 2026) · SEBI
- Circular text: Closing Auction Session and pre-open changes (16 January 2026) · SEBI
- Review of the Closing Auction Session, market timings and derivatives settlement methodology (15 October 2026) · SEBI