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
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
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.
| Signal and offset | Buys | Strike | Which is |
|---|---|---|---|
| Bullish, offset 0 | Call | 24,250 | At the money |
| Bullish, offset 1 | Call | 24,300 | One strike out of the money |
| Bearish, offset 0 | Put | 24,250 | At the money |
| Bearish, offset 1 | Put | 24,200 | One strike out of the money |
| Bullish, offset −1 | Call | 24,200 | One strike in the money |
Expiry days, holidays included
NIFTY, the week expiry moved to Tuesday
| Mon | Tue | Wed | Thu | Fri |
|---|---|---|---|---|
| 25 Aug | 26 Aug | 27 AugHoliday | 28 AugExpiry | 29 Aug |
| 1 Sept | 2 SeptExpiry | 3 Sept | 4 Sept | 5 Sept |
NIFTY, October 2026
| Mon | Tue | Wed | Thu | Fri |
|---|---|---|---|---|
| 5 Oct | 6 OctExpiry | 7 Oct | 8 Oct | 9 Oct |
| 12 Oct | 13 OctExpiry | 14 Oct | 15 Oct | 16 Oct |
| 19 OctExpiry | 20 OctHoliday, scheduled expiry | 21 Oct | 22 Oct | 23 Oct |
BANK NIFTY, March 2026
| Mon | Tue | Wed | Thu | Fri |
|---|---|---|---|---|
| 23 Mar | 24 Mar | 25 Mar | 26 MarHoliday | 27 Mar |
| 30 MarExpiry | 31 MarHoliday, scheduled expiry | 1 Apr | 2 Apr | 3 AprHoliday |
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
| Strategy | Style | Candle | Exits by default |
|---|---|---|---|
| Iron condor | Sells premium | 1 minute | Take profit at 50% of the credit, stop at 2× the credit, exit 1 day before expiry |
| Hedged straddle | Sells premium | 1 minute | Each sold leg is bought back if it loses 30% of its premium |
| MACD credit spread | Sells premium | 5 minutes | Take profit at 50% of the credit, stop at 1× the credit, exit 1 day before expiry |
| Moving average crossover | Buys options | 3 minutes | Opposite signal or square-off; optional stop, target and trailing stop |
| EMA crossover | Buys options | 5 minutes | Opposite signal or square-off; optional stop, target and trailing stop |
| MACD with a 200 trend filter | Buys options | 3 minutes | Opposite signal or square-off; optional stop, target and trailing stop |
| Supertrend flip | Buys options | 5 minutes | Opposite signal or square-off; optional stop, target and trailing stop |
| RSI reversal | Buys options | 5 minutes | Opposite signal or square-off; optional stop, target and trailing stop |
| Opening range breakout | Buys options | 5 minutes | Opposite breakout or square-off; optional stop, target and trailing stop |
| Options on your own rules | Buys options | 5 minutes | Opposite signal or square-off; optional stop, target and trailing stop |
What a NIFTY options backtest shows
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.
| Contract | Side | Opened | Closed | Entry → exit | Exit reason | Fees | P&L |
|---|---|---|---|---|---|---|---|
| NIFTY 29 Sep 24000 PE | Short | 23 Sep 10:00 | 25 Sep 13:42 | 38.55 → 17.85 | Take profit | ₹52.52 | +₹1,292.98 |
| NIFTY 29 Sep 24400 CE | Short | 23 Sep 10:00 | 25 Sep 13:42 | 33.85 → 13.45 | Take profit | ₹51.80 | +₹1,274.20 |
| NIFTY 29 Sep 23800 PE | Long | 23 Sep 10:00 | 25 Sep 13:42 | 14.45 → 6.05 | Take profit | ₹48.37 | −₹594.37 |
| NIFTY 29 Sep 24600 CE | Long | 23 Sep 10:00 | 25 Sep 13:42 | 11.25 → 4.25 | Take profit | ₹48.06 | −₹503.06 |
September 2026
13 up, 4 down+4.8k
- 101 September: ₹0, expiry day2+1.2k2 September: +₹1,2403+6103 September: +₹6104−4804 September: −₹480+1.4k
- 7+9057 September: +₹905808 September: ₹0, expiry day9+1.4k9 September: +₹1,38510+72010 September: +₹72011−2k11 September: −₹1,960+1.1k
- 14Holiday15015 September: ₹0, expiry day16+1.1k16 September: +₹1,10517+45517 September: +₹45518+83018 September: +₹830+2.4k
- 21−3.7k21 September: −₹3,72022022 September: ₹0, expiry day23+1.3k23 September: +₹1,29024+64024 September: +₹64025+98025 September: +₹980−810
- 28+31528 September: +₹31529−65029 September: −₹650, expiry day30+1.2k30 September: +₹1,170+835
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.