We trade Nifty and Sensex options for a living, on expiry days, with software that follows written rules. This page is the plain version of what that involves: how the two indices differ, which rules and dates apply right now, which strategy families exist and where each one breaks, and what you should check before you automate anything. Facts on this page were re-checked on 8 November 2026. Exchange details change, so the sections that carry dates say so.
What is Nifty & Sensex Algo Trading?
Nifty and Sensex algo trading means letting a program trade the Nifty 50 index on NSE and the Sensex index on BSE from a fixed rule set. The rules say when to enter, which strike to use, how many lots, where the stop-loss goes and when to get out. A person writes and tests those rules. The program only carries them out, the same way every day, without hesitating at 2:45 PM on an expiry afternoon.
The Nifty 50 follows 50 large NSE-listed companies. Sensex follows the 30 largest and most traded companies on BSE. Both have liquid weekly options, and they are the only two Indian indices that still do. That is the main reason they attract almost all index algo activity. If you are new to the idea, start with our complete guide to algorithmic trading in India and then come back here for the index-specific details.
Why only these two? Since November 2024 SEBI lets each exchange keep weekly expiries on one benchmark index. NSE kept Nifty 50. BSE kept Sensex. Every other index option now expires monthly.
Why algo trading suits these two indices
- Orders go out the instant a rule fires, which matters on expiry days when premium can halve in minutes.
- The same rule runs on every session, so a bad week does not push you to break your own plan.
- You can test the rule on years of history before any money is at stake.
- One set of logic can run on more than one index at the same time, if you size it properly.
Automation does not create an edge. It only removes the part of trading where people usually leak money: late exits, skipped stops and revenge trades. A weak rule run by a machine still loses, just faster and with perfect discipline.
Nifty vs Sensex: the numbers that decide how you trade
Most "Nifty and Sensex" articles treat the two as twins. They are not. The table below is what we check before we put the same idea on both. Values are as of November 2026.
| Item | Nifty 50 (NSE) | Sensex (BSE) |
|---|---|---|
| Stocks in the index | 50 | 30 |
| Lot size | 65 units (was 75) | 20 units |
| Rupees per index point, per lot | Rs 65 | Rs 20 |
| Weekly expiry day | Tuesday | Thursday |
| Monthly expiry day | Last Tuesday | Last Thursday |
| If expiry falls on a holiday | Previous trading day | Previous trading day (usually Wednesday) |
| Depth away from spot (our fills) | Deeper, tighter spreads | Fine near the money, thins faster further out |
Two things in that table catch people out. First, the lot size. Nifty went from 75 to 65 units with the January 2026 revision, and plenty of older pages still say 75 or 25. Sensex is 20. A Nifty lot therefore moves Rs 65 per point and a Sensex lot Rs 20, so "two lots of each" is not an equal bet. Our NIFTY lot size and position sizing guide works through that arithmetic. Second, the expiry days. Both exchanges moved on 1 September 2025: NSE to Tuesday, BSE to Thursday. Some well-ranked pages still list the old days, so if a page tells you Nifty expires on Thursday, close the tab.
Exchanges revise lot sizes and contract details on a rolling basis. Check nseindia.com and bseindia.com before you size a trade, and keep the lot size in a config file, not hard-coded in the strategy.
What changed in the rules, and why it matters to an algo
If you copied a strategy from a 2023 video, several of its assumptions are gone. These are the changes that touch Nifty and Sensex algo trading, in order.
- 20 November 2024: one weekly index per exchange. SEBI's index-derivatives circular limited each exchange to weekly expiries on a single benchmark. Bank Nifty, Fin Nifty and Midcap Nifty weeklies ended. Our page on how the Bank Nifty weekly expiry ended has the full sequence.
- 1 September 2025: new expiry days. Nifty weeklies moved to Tuesday, Sensex weeklies to Thursday. Any backtest built around the old Thursday-for-Nifty calendar needs its expiry dates rebuilt.
- 1 October 2025: intraday position monitoring on index options. Exchanges now check intraday positions, converted to futures-equivalent, against entity-level limits at random points in the day. The limits are very large, so they matter to big desks and not to a retail account, but they explain why expiry-day behaviour at the top end of the market looks different from before.
- 1 April 2026: retail algo framework fully in force. Algorithmic orders placed through a broker API now carry an algo ID, come from a registered static IP and sit under exchange order-rate thresholds. Brokers handle most of this for you, but a home-built script that worked in 2024 may need re-registering. See our note on how SEBI's algo trading rules apply to automated execution.
We are quoting these from exchange and SEBI circulars and broker notices. Thresholds and deadlines get amended, so read the circular your broker sent you before you rely on any single number here.
Nifty algo trading strategies: what each one earns, and when it breaks
After two decades in these markets, the useful way to sort strategies is not by name but by what risk they get paid for. Each family below earns its return by taking one specific risk. That risk is also how it loses.
Short volatility (strangles, straddles, condors)
You sell options and keep the premium if the index stays inside a range. It pays for absorbing gap and spike risk, so it wins often and loses rarely but heavily. It breaks when volatility jumps faster than the stop or hedge can react. Hedged versions cap that loss at a known cost.
Expiry-day theta capture
Open and close inside the expiry session so there is no overnight gap. Time decay is steepest on this day, but so is gamma, which means a small index move can swing the position sharply. It breaks on a clean one-way trend day, when there is no time left to recover.
VWAP and range mean reversion
Fade stretches away from the day's volume-weighted average price or the opening range. Hit rates can look good, but the edge per trade is thin, so slippage on both sides can erase it. It breaks when the stretch is real news, not noise.
Opening range breakout (ORB)
Trade the break of the first 15 to 30 minute range. Rules are simple to code and test. It breaks in choppy markets, where repeated false breaks trigger a string of small stops.
Delta-neutral structures
Hold a position that is flat to small index moves and profit from decay or volatility changes, rebalancing as delta drifts. The rebalancing is the hard part: it adds costs and decisions, and it fails when the index moves further than your rebalancing band.
Nifty vs Sensex spread trades
Trade the gap between the two indices. We list it for completeness only. The two move almost together, the gap is small, and costs and slippage on two exchanges decide whether anything is left. Treat claims of an easy edge here with suspicion.
Our own book is built around the first two: index option selling on expiry day, mostly short volatility with hedges where the risk calls for them. We do not claim it is the best family. It is the one whose risks we have measured for years and learned to size. Our algo trading strategies page compares the approaches side by side, and short straddle vs short strangle on Nifty explains the payoff difference in detail. For how hedging changes the loss profile, read hedging an option-selling position and when and how we actually hedge a naked strangle.
What Our Own Expiry-Day Data Shows
Most "Nifty algo" pages repeat the line that options "decay fast on expiry day". We measured it. EliteAlgo's desk reference covers 163 Nifty and Sensex weekly expiry days (83 Nifty, 80 Sensex) from 2 January 2025 to 30 July 2026, using 1-minute option-chain data. These are market-behaviour figures, not strategy returns.
| India VIX band at the open | Expiry days | ATM straddle premium at 9:20, as % of spot (median) |
|---|---|---|
| Below 12 | 46 | 0.38% |
| 12 to 14 | 43 | 0.44% |
| 14 to 17 | 35 | 0.51% |
| 17 to 20 | 24 | 0.60% |
| Above 20 | 11 | 0.76% |
Two things stand out. First, the premium on offer roughly doubles from the quietest VIX band to the most stressed one, so a fixed "collect Rs X" target makes no sense across regimes. Second, a straddle held at its 9:20 strike does not melt smoothly to zero. Averaged over the 163 days, it was worth about 88 to 89% of its starting value by late morning, then moved sideways at roughly 88 to 93% through the afternoon. The strike stays fixed while the index keeps moving, so theta works against gamma all day. A rolling at-the-money line behaves differently: in our 62-session study of each index it fell to a median of 49% of its 9:20 value by 2 PM (Nifty). The full hour-by-hour picture is in our expiry-day premium clock, and the Greek mechanics are in option Greeks on expiry day.
The same file shows that a short ATM straddle entered at 9:20 gave back a median of about 43% of its best intraday profit by the close (159 usable days). Max pain is another habit the data corrects. On the 163 days the close sat a median of about 0.08% of spot from the max-pain strike, and Sensex pinned tighter than Nifty (0.06% against 0.13%). We tested it in max pain on Nifty: testing the pin everyone quotes.
Sensex expiry day strategies
Sensex weekly options expire every Thursday on BSE. That sits two days after Nifty's Tuesday expiry, which is the real reason many sellers add Sensex: it gives a second expiry session in the week instead of a copy of the first one.
Why expiry day behaves differently
On expiry day, time decay speeds up, gamma climbs near the money, and index moves hit option prices far harder than on any other day. A strike that was safe at 10 AM can be at the money by 2 PM. A person watching a screen is slow to react. A rule is not, which is the whole case for automating it. Our Nifty expiry-day premium clock shows how fast premium disappears hour by hour, and option Greeks on expiry day explains what delta and gamma do to a short position in those last hours.
Common Sensex expiry-day structures
- Short straddle or strangle with a stop on each leg. Sell the at-the-money or slightly out-of-the-money call and put and exit a leg if it doubles or breaks your fixed stop. Entry time, strike distance and stop rule are the three inputs to test. We do not publish a "best" setting because it changes with volatility.
- Iron condor. The same idea, with bought wings that fix the worst-case loss before you enter. You give up some premium for a loss you can name in advance. The Sensex weekly expiry option selling strategy page covers the setup in detail.
- Directional structure after the opening move. Wait for a trend to show by mid-morning, then trade it with a defined-risk spread and a fixed exit. It needs a firm rule for what counts as a trend, otherwise it turns into guessing.
Gamma scalping also appears on lists like this. It needs constant rebalancing and tight execution, and costs eat most small accounts alive, so we leave it out.
EliteAlgo runs Sensex expiry-day systems alongside its Nifty expiry-day work. Parameters are derived separately for each index, never copied across.
Running both indices: what it does and does not diversify
The tempting idea is to run the same strategy on Nifty and Sensex and call it diversified. It is only partly true, and it is worth being exact about which part.
| Risk | Does running both help? |
|---|---|
| Market-wide fall or gap | No. Both indices share most large stocks. |
| Volatility spike | No. Both sets of options reprice together. |
| A single bad expiry day | Partly. Tuesday and Thursday are separate sessions. |
| Exchange or broker connectivity failure | Yes, if each index goes through a path you can monitor. |
| Thin liquidity in one contract | Yes. You are not forced to trade the thin one. |
The rule we follow: size the combined book as if both positions lose on the same day, because on the bad days they do. Also, never copy parameters from one index to the other. A 40-point stop is a different percentage on each index. "Two strikes out" is a different distance because strike spacing differs. Slippage on Sensex is usually larger further from spot. Each index gets its own backtest, with its own costs.
How to test a Nifty or Sensex rule before it touches money
Most automated accounts that fail were never properly tested. A backtest is a filter, not a promise, and it is easy to fool yourself with one. This is the order we work in.
- Rebuild the expiry calendar. Use the weekday that applied on each date. Tests that assume Thursday for Nifty across all of history are wrong for anything after August 2025, and they ignore holiday shifts.
- Use the lot size of the day. Rupee results change when the lot goes from 75 to 65.
- Model costs and slippage on both sides. Brokerage, STT, exchange charges and a realistic fill gap on every entry and exit.
- Report the ugly numbers. Maximum drawdown, the worst single day, longest losing run, profit factor, and average profit per trade. Average win rate alone tells you almost nothing about a short-volatility rule.
- Hold data back. Test on data the rule never saw. If you tried hundreds of variants to find the winner, the winner is probably luck.
- Paper trade, then go live small. Compare live fills with the backtest fills. A large gap means your cost model was too kind.
Our pieces on how to backtest an option-selling strategy and what a backtest can and cannot prove go deeper. If you want tools to run this on, see options backtesting software in India.
Capital, margin and what can go wrong
People ask how much money they need. Honest answer: it depends, and anyone giving one number is guessing. Margin for a short options position depends on the strikes, whether you bought hedges, the current volatility and your broker. A hedged structure blocks far less than a naked one, and margin rises when volatility rises, usually when you can least afford it.
Do the sizing in the other direction. Decide the most you accept to lose in one day, work out the loss if every stop is hit (points times the rupee-per-point of your lot times the number of lots), and only then check the margin. Margin tells you what the broker will block. It does not tell you what you can afford to lose. For the mechanics, see SPAN and exposure margin on a Nifty strangle and NSE margin calculator vs broker margin.
And be clear about the risks. Selling options without a hedge can lose more than the capital you set aside. Fast gaps can go through a stop. A broker API or your internet connection can fail mid-trade. Our disadvantages of algo trading page lists those honestly, and you should read it before you start.
Why Choose EliteAlgo for Nifty/Sensex Trading
When it comes to Nifty and Sensex algo trading, experience in the actual markets matters more than slogans. Here is what stands behind our work.
Two decades in Indian markets
Excellent Securities Limited was founded in 2006. The desk has traded through the 2008 crash, COVID-19 volatility and several circuit-breaker days. We learned risk limits from those days, not from a textbook.
In-house research and our own backtest engine
Strategy ideas are tested on our own engine against historical NSE and BSE option data before any live capital is committed. Rules are written and reviewed in-house, which is why we can say what each one does on a bad day.
Broker-routed, exchange-approved execution
Orders route through a broker's exchange-approved algo infrastructure, so every trade passes the same exchange-level checks as any other order. EliteAlgo itself is a proprietary trading desk that builds analytical software. Nothing on this page is investment advice or a recommendation to buy or sell any contract. Past results, ours or anyone else's, do not predict future results.
Looking for Bank Nifty? Weekly expiry there ended in 2024, and we explain what that means for sellers in our Bank Nifty weekly expiry guide. To go further, explore our algo trading strategies, algo trading services and company background, or contact us.