This guide covers where order types came from, the order types you can use on NSE with options examples, validity and product types, the rules that block or reject some orders, how algos use order types, and how each one works in QuantPower.
A short history of order types
The basic order types are older than electronic markets. On the trading floors of the nineteenth and twentieth centuries, a client could tell a broker to buy "at the market", taking whatever price the floor offered, or "at a limit", no higher than a set price. The stop order, which waits for the price to reach a level and then becomes an order, was a floor instruction too: brokers kept stop orders in their books and acted on them when the price got there.
In India, the change came with screen trading. The NSE began trading on its electronic system in November 1994, and for the first time every order sat in one central order book, matched by price and then by time.1 The exchange's rules defined market, limit and stop-loss orders, and validity such as day and immediate-or-cancel. Equity derivatives followed: index futures in June 2000 and index options in June 2001.
As retail options trading grew, order types changed to limit damage. Freak trades, in which a market or stop-loss-market order filled far from the last price in a thin option, led the NSE to stop accepting SL-M orders in index and stock options from 27 September 2021.2 Brokers added market protection, freeze-quantity limits shaped how large orders were split, and broker-side orders such as GTT became standard. The latest change is SEBI's framework for retail algos, in force for every broker from 1 April 2026, which sets order-rate limits and ties algo orders to a registered static IP.3
Order types at a glance
| Order | You set | How it fills | Main risk |
|---|---|---|---|
| Market | Quantity | At once, at the best prices available | Slippage in thin contracts |
| Limit | Quantity and price | At your price or better | May not fill |
| Stop-loss limit (SL) | Trigger and limit price | Becomes a limit order at the trigger | May not fill in a fast move |
| Stop-loss market (SL-M) | Trigger price | Becomes a market order at the trigger | Slippage; not allowed in options |
| Iceberg | Total quantity and number of legs | In slices, one leg at a time | Slower to complete |
| After market order (AMO) | Any of the above, outside market hours | Sent when the market opens | The opening price can gap |
| GTT | Trigger, valid for up to a year | Broker places an order when triggered | May not fill once triggered |
The first four are exchange order types. Iceberg orders, AMOs and GTTs are facilities your broker builds on top of them, so their details vary by broker.
How the order book works
Every contract on NSE has an order book, with buyers' bids on one side and sellers' asks on the other. The best bid is the highest price a buyer will pay, and the best ask is the lowest price a seller will accept. The gap between them is the spread.
When an order arrives, the exchange matches it against the best prices on the other side, first by price and then by time. An order that cannot be matched waits in the book until it fills, is changed or is cancelled.
Market orders
A market order buys or sells at once at the best prices available. You choose the quantity and the market chooses the price.
In a liquid contract the difference is small. If 650 units, or 10 lots, are on offer at ₹280.50, a market buy for 10 lots fills there. In a thin contract, a market order takes whatever sits in the book. If a stock option shows 500 units at ₹12.00 and the next seller at ₹14.50, a market buy for 1,000 units pays an average of ₹13.25, about 10% above the best price.
Gaps like this cause freak trades, where an order fills far from the last traded price. To limit them, many brokers:
- block market orders in stock options and in illiquid index option strikes,
- apply market protection, which turns a market order into a limit order a set percentage away from the last price,
- reject market orders sent through their API without a market protection value, as Zerodha does,6 and
- refuse market orders for some contracts when they are placed as after market orders.
Use market orders only in liquid contracts, and check the depth before you send a large one.
Limit orders
A limit order sets the worst price you will accept. A buy limit at ₹279 fills at ₹279 or lower, and a sell limit at ₹281 fills at ₹281 or higher. If the market never reaches your price, the order stays open until the close and is then cancelled.
A limit order priced across the spread, such as a buy limit at ₹281 when the ask is ₹280.50, fills at once like a market order but cannot fill above ₹281. Algos use these marketable limit orders for entries and exits because they cap slippage.
Order validity
- Day: the order stays open until it fills or the market closes.
- IOC (immediate or cancel): whatever can fill at once fills, and the rest is cancelled. Use it when you want a quick fill without a leftover open order.
- GTD (good till date): the order stays open until a date you choose, where your broker supports it for that segment.
Stop-loss orders: SL and SL-M
A stop-loss order waits for the price to reach a trigger, then sends an order to the exchange. It exits a position automatically when the market moves against you.
Stop-loss limit (SL)
You set two prices: the trigger, which activates the order, and the limit, which is the worst price you will accept once it is active.
The gap between trigger and limit is your buffer. If it is too small, a fast fall can jump past the limit and leave the order unfilled while the loss grows. If it is too large, you may fill at a worse price than planned.
For a short position, the order works the other way: a buy SL with the trigger above the current price and the limit above the trigger.
- Sell SL: trigger below the last traded price, limit at or below the trigger.
- Buy SL: trigger above the last traded price, limit at or above the trigger.
A trigger on the wrong side of the market makes the order trigger at once or get rejected.
Stop-loss market (SL-M)
An SL-M order sends a market order when the trigger is hit. It fills, but at whatever price the book offers.
NSE discontinued SL-M orders in index and stock options from 27 September 2021, after a series of freak trades (circular NSE/FAOP/49677).2 In options, use an SL order with a wider buffer instead. Most brokers still accept SL-M orders in futures and equity.
Iceberg orders
An iceberg order splits a large order into smaller legs and sends them one at a time, so the full size never shows in the order book.
There are two reasons to use one:
- Freeze quantity: the exchange sets a maximum quantity per order for each F&O contract and rejects larger orders. Freeze limits are revised from time to time, often along with lot sizes, so check NSE's current list.5
- Market impact: a large order shown all at once can push the price against you. Smaller legs give the book time to refill.
In QuantPower, iceberg orders split one order into 2 to 50 legs and send the next leg only after the one before it has filled; an ordinary order above the exchange's freeze quantity is also split automatically.
After market orders (AMO)
An after market order is placed while the market is closed. Your broker holds it and sends it to the exchange when the market next opens for that segment. AMO windows differ by broker, and most accept orders in the evening and early morning.
AMOs suit orders planned in advance, such as buying a stock at a set price the next day. Take care with options: the opening price can be far from the previous close, so use a limit price. Some brokers do not accept market AMOs in options at all.
GTT and other broker orders
Some order types exist only at the broker. The broker stores your instruction and sends a normal order to the exchange when a condition is met.
- GTT (good till triggered): waits for a trigger price for up to a year, depending on the broker, then places a limit order. An OCO version holds a target and a stop loss together; when one triggers, the other is cancelled.
- Cover order: an intraday order sent with a compulsory stop loss.
- Bracket order: an intraday order with a target and a stop loss attached. Several brokers have withdrawn bracket orders, so check what yours offers.
Because these instructions sit with the broker, they can fail to trigger if the broker's system has a problem, and they do not fill if the price gaps past the limit.
Product types: intraday, carry forward and delivery
Every order also has a product type, which tells the broker how long you plan to hold the position.
| Product | Common name | Used for | At the close |
|---|---|---|---|
| Intraday | MIS | Positions opened and closed the same day | The broker squares off open positions |
| Carry forward | NRML, Overnight | F&O, commodity and currency positions held overnight | The position carries to the next day |
| Delivery | CNC | Buying shares to hold | Shares move to your demat account |
| Margin trading | MTF | Buying shares with part of the price lent by the broker | Held as delivery, with interest charged |
Names differ by broker. Brokers square off intraday positions still open near the close at the market price, often with a charge. In equity cash, an order can be Intraday or Delivery, and MTF where your broker offers it; in F&O, commodity and currency, Intraday or Overnight.
How algos use order types
An algo cannot look at the screen and decide how to fill, so order types are part of its rules.
- Entries: marketable limit orders, priced a few ticks through the best price, fill quickly and cap slippage. Market orders work in liquid contracts when your broker applies market protection.
- Stop losses: SL orders with a buffer, placed as soon as the entry fills. Some platforms track prices themselves and send an exit order at a set level instead, which avoids a resting stop that can be skipped in a gap but depends on the platform staying connected.
- Multi-leg strategies: buy the hedge legs first, then sell the short legs. Your broker then sees a hedged position and blocks less margin.
- Large orders: iceberg orders keep each leg below the freeze quantity.
- Order rate: SEBI's framework lets your own algo run without registration if it sends fewer than 10 orders a second.3 See SEBI's algo trading rules.
Example: a short straddle with stop losses
This uses the model prices from our other Nifty examples: Nifty at 25,000, 12 days to expiry, IV of 14% and a lot of 65.
| Leg | Order type | Trigger | Limit | Purpose |
|---|---|---|---|---|
| Sell 25,000 CE | Limit | — | ₹280.50 | Entry |
| Sell 25,000 PE | Limit | — | ₹227.10 | Entry |
| Buy 25,000 CE | SL | ₹364.65 | ₹370.00 | Stop loss, 30% above entry |
| Buy 25,000 PE | SL | ₹295.25 | ₹300.00 | Stop loss, 30% above entry |
The straddle collects ₹507.60 per unit, or ₹32,994 per lot. If the call's stop triggers and fills at ₹364.65, that leg loses ₹5,469.75. If it fills at its limit of ₹370, the leg loses ₹5,817.50. The difference is the cost of the buffer. Our short straddle guide covers the full strategy.
Order status
| Status | Meaning |
|---|---|
| Open | The order is in the exchange's book, waiting to fill |
| Trigger pending | A stop-loss order is waiting for its trigger |
| Partially filled | Part of the quantity has traded and the rest is open |
| Complete | The full quantity has traded |
| Cancelled | You, your algo or the exchange cancelled the order |
| Rejected | The broker or the exchange refused the order |
Every rejection comes with a reason, from insufficient margin to a price outside the band or a quantity above the freeze limit. The next section lists the common ones.
Changing and cancelling orders
An open order can be changed or cancelled until it fills.
- Modify changes the price, the trigger or the quantity of an open order. The exchange treats the changed order as new for time priority, so a modified limit order goes to the back of the queue at its new price.
- Cancel removes the unfilled part of an order. A partly filled order keeps its filled quantity; only the rest is cancelled.
- Charges. Most brokers charge only on executed orders, but some charge for cancelled or modified ones, and an algo that modifies orders often can run into the broker's or the exchange's limits on order messages.
In QuantPower, open orders appear as lines on the chart: drag a line to a new price, or cancel it, and the order sheet opens for you to confirm before anything is sent.
Choosing an order type
| Situation | A common choice | Why |
|---|---|---|
| Entering a liquid index option quickly | Limit priced a few paise through the best ask or bid | Fills at once but caps the price |
| Entering at a planned level | Limit at your price, Day validity | Fills only at your price or better |
| Breakout entry above a level | SL buy with the trigger at the level | Waits until the price confirms |
| Stop loss on an option | SL with a buffer between trigger and limit | SL-M is not allowed in options |
| Stop loss on futures | SL or SL-M, depending on how much slippage you accept | SL-M fills; SL caps the price |
| Exit that must happen | Market or a marketable limit, then check the fill | Getting out matters more than the price |
| Large order | Iceberg | Stays under the freeze quantity and limits impact |
| Target and stop for days or weeks | GTT with OCO | Waits without an open order in the book |
Why orders get rejected
An order can be refused by your broker before it leaves, or by the exchange when it arrives. The common reasons:
| Reason | What happened | What to do |
|---|---|---|
| Insufficient margin | The order needs more margin than the account has free | Add funds, reduce size, or place the hedge leg first |
| Price outside the band | A limit price is beyond the contract's allowed price range for the day | Price the order inside the band |
| Above freeze quantity | The order is larger than the exchange accepts in one order | Split it, or use an iceberg order |
| Wrong trigger side | A stop trigger is on the wrong side of the last price | Check the trigger against the current price |
| Market order blocked | The broker does not allow market orders in that contract | Use a limit order priced through the best bid or ask |
| Segment not active | F&O or commodity trading is not switched on for the account | Ask your broker to activate the segment |
| Order rate limit | Too many orders in a second from an unregistered algo | Slow the algo, or run a registered one |
Rejections cost nothing in charges at most brokers, but they cost time, and a rejected stop or exit leaves a position open. Algos need a rule for each kind of rejection, not only for fills.
Order types in a fast market
Order types behave differently when prices move quickly, which is exactly when stops and exits matter most.
- Market orders fill, but the spread widens and the depth thins out, so the average price can be far from the last trade.
- Limit orders protect the price but may not fill at all; a limit buy left behind a rising market becomes an open order that fills later, if at all, at a worse moment.
- SL orders can be jumped. If the price falls straight through the trigger and the limit in one move, the order sits unfilled below the market while the loss grows.
- GTT orders trigger on the broker's or platform's side and then send a limit order, which has the same risk as an SL order in a gap.
- Platform-side exits, where the software watches the price and sends a market or marketable limit exit, react to the move but depend on the connection and the broker's systems at that moment.
A common approach is to use a limit or SL order with a buffer that matches the instrument's usual one-minute move, and a second rule that converts any unfilled exit to a market order after a few seconds. Whatever the method, test it on volatile days, not only on quiet ones.
A worked example: an iron condor placed leg by leg
This uses model prices for Nifty at 25,000, 12 days to expiry, IV of 14% and a lot of 65. It shows the order of the legs and the order types, not a result.
- Buy the wings first. Buy the 24,500 put and the 25,500 call with marketable limit orders a few paise above the ask. With the hedges in place, the broker sees a hedged position when the short legs arrive.
- Then sell the short legs. Sell the 24,750 put and the 25,250 call with limit orders a few paise below the bid.
- Check every fill. If a short leg does not fill within a few seconds, either move its limit toward the market or cancel the whole entry; an iron condor with only its wings is a pure cost.
- Exit in reverse. Buy back the short legs first, then sell the wings, so the position is never naked.
Placing the short legs first can need several times more margin for a few seconds, and if the account does not have it, the broker rejects them. The leg order is part of the strategy, not a detail.
Order types in QuantPower
QuantPower places every order, manual or automated, through one order path with the same checks, and the order sheet shows the margin needed before you send.
| Item | Choices |
|---|---|
| Order type | Market, Limit, SL (stop-limit), SL-M (stop-market, where the exchange allows it) |
| Product | Intraday, Delivery, MTF where your broker offers it, Overnight |
| Validity | Day, IOC, GTD |
| Markets | NSE and BSE cash and F&O, commodity (MCX, NSE, BSE), currency (NSE, BSE) |
| GTT | Up to 100 active, each for up to 365 days, with OCO pairs; drag a GTT's line on the chart to change its trigger |
| Iceberg | 2 to 50 legs, sent one at a time; automatic split above the freeze quantity |
| Baskets | Up to 20 legs sent together, with buy legs filled before sell legs in a hedged basket |
Algos add their own entry choices for each leg: a market order, a limit at a fixed price or the last price plus or minus a buffer, a stop-limit for breakout entries, or "modify until filled", which moves an unfilled entry to the last price up to 10 times and then cancels it or sends it at market. Exits on a target or stop are market orders that can only reduce the position. Above every algo, Smart Exit squares off all positions when the account's day reaches its profit or loss level, and the daily loss limit refuses new orders once the day's loss reaches it.
Where order types are going
Order types in India are moving toward more protection by default. Market protection on API orders, freeze-quantity splits and broker-side GTTs are now standard, and SEBI's algo framework adds order-rate limits and registered strategies for automated orders. The NSE's extended F&O hours to 3:40 pm from 3 August 2026, alongside a closing auction session in the cash market, change how the last minutes of the day trade, and the orders placed into them.4 For traders, the habit that matters stays the same: decide the order type, the price buffer and the product before the trade, and test what happens when an order does not fill.
Related guides
- Trailing stop loss: a stop that follows the price
- How to place a stop loss order: account-level stops in QuantPower
- Order book dynamics: how bids, asks and depth change
- Live trading terminal: orders and positions on one screen
Start with 500 free tokens
Connect your broker, build a strategy and test it on paper before a single live order goes out.
Frequently asked questions
What is the difference between SL and SL-M orders?
Both wait for a trigger price. An SL order then becomes a limit order and fills only at your limit or better. An SL-M order becomes a market order and fills at the best available price.
Why can't I place an SL-M order in options?
NSE stopped accepting SL-M orders in index and stock options from 27 September 2021, after freak trades in illiquid contracts. Use an SL order with a buffer between the trigger and the limit.
Can I place a market order in options?
Usually yes in liquid index options. Many brokers block market orders in stock options and illiquid strikes, and some apply market protection, which Zerodha requires on market orders sent through its API. A limit order priced through the best bid or ask fills just as quickly and caps the price.
When is an AMO executed?
Your broker sends it when the market opens for that segment, and it fills like any other order at that time. A limit price protects you from an opening gap.
What is freeze quantity?
The maximum quantity the exchange accepts in a single order for an F&O contract. Larger orders are rejected and have to be split, which an iceberg order does for you.
Which order types do algos usually use?
For most options strategies, marketable limit orders for entries and exits, and SL orders for stop losses. They fill quickly while capping the price.
What does "trigger pending" mean?
A stop-loss or GTT order is waiting for its trigger price. Nothing has been sent to the exchange's order book yet; when the price reaches the trigger, the order becomes a limit or market order and can fill.
References
- NSE: history of the National Stock Exchange, which began trading in the equity segment in November 1994 (nseindia.com)
- NSE, circular NSE/FAOP/49677, 21 September 2021, discontinuing stop-loss market orders in options from 27 September 2021 (checked 20 October 2026)
- SEBI, circular on safer participation of retail investors in algorithmic trading, 4 February 2025, and glide-path circular, 30 September 2025 (sebi.gov.in)
- NSE extends F&O trading hours to 3:40 pm from 3 August 2026, with a closing auction session in the cash market (groww.in), checked 12 November 2026
- NSE, equity derivatives contract specifications, lot sizes and freeze quantities (nseindia.com)
- Kite Connect forum, "Preparing to comply with SEBI's retail algo rules (Static IP, ratelimits, order types)", on market protection (kite.trade), checked 20 October 2026