NIFTY and BANK NIFTY options backtesting

Backtest weekly NIFTY 50 and monthly BANK NIFTY options on one-minute data. Veloce picks real contracts from the closed candle’s price, follows NSE’s expiry calendar through the move to Tuesdays and every holiday, and charges each fill what an NSE options order costs.

The two contracts

Both are European, cash-settled index options. These are the details Veloce models.

NIFTY 50 options

Expiry
Every week. Tuesday from 2 September 2025, Thursday before that
Holiday rule
Moves to the previous trading day
Lot size
Set by expiry from NSE’s schedule: 65 from the January 2026 expiries, 75 for contracts from 20 November 2024, and 25 or 50 before that; you can override it for a run
Strike step
50 points
Premium tick
₹0.05
History in Veloce
From 1 June 2021
Strikes with data
Up to 10 either side of the money on the nearest expiry, 3 on later ones

BANK NIFTY options

Expiry
Monthly, on the last Tuesday of the month
Holiday rule
Moves to the previous trading day
Lot size
Set by expiry: 35 for expiries through December 2025 and 30 from the January 2026 expiries; you can override it for a run
Strike step
100 points
Premium tick
₹0.05
History in Veloce
From 1 September 2025
Strikes with data
Up to 10 either side of the money on the nearest expiry, 3 on later ones

How a strategy picks its contract

Strategies do not name contracts in advance. On each signal they ask the option chain for one, from the price the candle closed at.

The at-the-money strike is the candle’s close rounded to the nearest strike step, with halves rounded up. A strike offset then moves away from the money in the direction of the trade: higher for calls, lower for puts. A negative offset moves into the money.

The expiry is the nearest one on or after the day, unless the strategy’s minimum days to expiry rules it out, in which case it skips the entry. Each contract is then priced from its own one-minute bars, not from the index.

NIFTY candle closes at 24,226.30, so the at-the-money strike is 24,250.

Strikes picked for each signal and offset
Signal and offsetBuysStrikeWhich is
Bullish, offset 0Call24,250At the money
Bullish, offset 1Call24,300One strike out of the money
Bearish, offset 0Put24,250At the money
Bearish, offset 1Put24,200One strike out of the money
Bullish, offset −1Call24,200One strike in the money

Expiry days, holidays included

NIFTY weekly options expired on Thursdays until 28 August 2025 and on Tuesdays from 2 September 2025. BANK NIFTY expires on the last Tuesday of the month. When the scheduled day is a market holiday, expiry moves back to the trading day before.

NIFTY, the week expiry moved to Tuesday

NIFTY, the week expiry moved to Tuesday
MonTueWedThuFri
25 Aug26 Aug27 AugHoliday28 AugExpiry29 Aug
1 Sept2 SeptExpiry3 Sept4 Sept5 Sept
The last Thursday expiry was 28 August 2025, the first Tuesday expiry 2 September.

NIFTY, October 2026

NIFTY, October 2026
MonTueWedThuFri
5 Oct6 OctExpiry7 Oct8 Oct9 Oct
12 Oct13 OctExpiry14 Oct15 Oct16 Oct
19 OctExpiry20 OctHoliday, scheduled expiry21 Oct22 Oct23 Oct
Tuesday 20 October 2026 was a holiday, so that week’s contracts expired on Monday 19 October.

BANK NIFTY, March 2026

BANK NIFTY, March 2026
MonTueWedThuFri
23 Mar24 Mar25 Mar26 MarHoliday27 Mar
30 MarExpiry31 MarHoliday, scheduled expiry1 Apr2 Apr3 AprHoliday
The last Tuesday of March 2026 was a holiday, so the monthly contracts expired on Monday 30 March.

Veloce learns which days were holidays from the index’s daily bars, and moves 13 NIFTY expiries between June 2021 and October 2026 this way. The glossary explainsexpiry andlot size.

Strategies that trade NIFTY and BANK NIFTY options

Every index-option strategy runs on NIFTY, BANK NIFTY or SENSEX. Choose the index when you set up the backtest.
Index option strategies and their default candles and exits
StrategyStyleCandleExits by default
Iron condorSells premium1 minuteTake profit at 50% of the credit, stop at 2× the credit, exit 1 day before expiry
Hedged straddleSells premium1 minuteEach sold leg is bought back if it loses 30% of its premium
MACD credit spreadSells premium5 minutesTake profit at 50% of the credit, stop at 1× the credit, exit 1 day before expiry
Moving average crossoverBuys options3 minutesOpposite signal or square-off; optional stop, target and trailing stop
EMA crossoverBuys options5 minutesOpposite signal or square-off; optional stop, target and trailing stop
MACD with a 200 trend filterBuys options3 minutesOpposite signal or square-off; optional stop, target and trailing stop
Supertrend flipBuys options5 minutesOpposite signal or square-off; optional stop, target and trailing stop
RSI reversalBuys options5 minutesOpposite signal or square-off; optional stop, target and trailing stop
Opening range breakoutBuys options5 minutesOpposite breakout or square-off; optional stop, target and trailing stop
Options on your own rulesBuys options5 minutesOpposite signal or square-off; optional stop, target and trailing stop

What a NIFTY options backtest shows

Every leg appears as its own trade, with the contract, the times it opened and closed, its entry and exit prices, why it closed and what it paid in fees.

The calendar marks expiry days, so it is easy to see whether a strategy makes its money early in the week or on the last day. Breakdowns by weekday and by days to expiry answer the same question in numbers.

Costs matter more on options than on most instruments, because premiums are small and the per-order brokerage is not. See how the engine charges each fill.

NIFTY iron condor
Illustrative trades of one NIFTY iron condor, closed by its take profit
ContractSideOpenedClosedEntry → exitExit reasonFeesP&L
NIFTY 29 Sep 24000 PEShort23 Sep 10:0025 Sep 13:4238.55 → 17.85Take profit₹52.52+₹1,292.98
NIFTY 29 Sep 24400 CEShort23 Sep 10:0025 Sep 13:4233.85 → 13.45Take profit₹51.80+₹1,274.20
NIFTY 29 Sep 23800 PELong23 Sep 10:0025 Sep 13:4214.45 → 6.05Take profit₹48.37−₹594.37
NIFTY 29 Sep 24600 CELong23 Sep 10:0025 Sep 13:4211.25 → 4.25Take profit₹48.06−₹503.06

September 2026

13 up, 4 down+4.8k

  1. 11 September: ₹0, expiry day22 September: +₹1,24033 September: +₹61044 September: −₹480+1.4k
  2. 77 September: +₹90588 September: ₹0, expiry day99 September: +₹1,3851010 September: +₹7201111 September: −₹1,960+1.1k
  3. 14Holiday1515 September: ₹0, expiry day1616 September: +₹1,1051717 September: +₹4551818 September: +₹830+2.4k
  4. 2121 September: −₹3,7202222 September: ₹0, expiry day2323 September: +₹1,2902424 September: +₹6402525 September: +₹980−810
  5. 2828 September: +₹3152929 September: −₹650, expiry day3030 September: +₹1,170+835
One condor’s four legs, closed by its take profit, and a month of daily P&L. Illustrative numbers.

Backtest NIFTY and BANK NIFTY options

Create an account with a verified email and phone number, pick a strategy and a market, and see every fill, fee and day of P&L.

Create account
esc
↑↓Move↵Open