Home · Guides · What data do you need to backtest a NIFTY opening range breakout?

USE CASE · OPENING RANGE BREAKOUT · 1-MINUTE BARS · CATALOG VERIFIED 2026-11-25

What data do you need to backtest a NIFTY opening range breakout?

A NIFTY opening range breakout backtest needs NIFTY 50 index 1-minute bars to set the range and detect the break, plus the nearest-expiry option chain or NIFTY futures at 1-minute on the same IST clock to price the trade. Across 731 sessions from 3 November 2023 to 3 November 2026 in Options Data (optionsdata.shop) files, the 09:15–09:29 IST range had a median width of 77.7 points (0.32% of the open). Options, futures and spot together: NIFTY Complete, 3 years.

NIFTY Complete, 3 yearsNIFTY options, 1-minute, 3 yearsFree NIFTY sample Get free sample by email File schema

Get the free sample by email → check the columns

Dates on this page are read from the live file catalog, not typed by hand. Full matrix: /coverage.

NIFTY 15-minute opening range, Options Data 1-minute spot and option files, 731 sessions 3 Nov 2023 to 3 Nov 2026 (574 non-expiry days, 157 expiry days). Range = high and low of the 09:15 to 09:29 IST index bars. Breakout = first 1-minute index close above the range high or below the range low from 09:30 to 15:14 IST. Option trade = nearest-expiry at-the-money call (upside break) or put (downside break), strike from the breakout close rounded to 50, bought at the open of the next traded bar and sold at the last traded close at or before 15:15 IST; no costs.

MeasureNon-expiry daysExpiry days
Median range width77.8 points77.2 points
Sessions with a breakout by 15:14 IST99.3%98.7%
Median breakout bar09:38 IST09:37 IST
Breakouts before 10:00 IST80.5%83.9%
Breakout days that also closed beyond the other side41.6%35.5%
Breakout days with the 15:29 IST close beyond the broken level52.6%54.8%
Median at-the-money premium at entry123.6 points56.4 points
Option trade return, median (25th to 75th pct)−8.4% (−39.2% to +27.6%)−87.6% (−99.7% to +36.6%)
Option trades with a positive return42.9%31.6%

Which data does a NIFTY opening range breakout backtest need?

A NIFTY opening range breakout backtest needs three series at 1-minute on one IST clock: the NIFTY 50 index to set the range and signal the break, the nearest-expiry option chain to price an option trade, and front-month NIFTY futures to price a futures trade or confirm the break with traded volume.

Options Data NIFTY index files hold datetime, open, high, low, close and volume, with datetime as the IST bar start; volume is 0 on every index row because the index itself does not trade. Option files add expiry_date, strike_price, right and open_interest. Files dated 3 July 2023 to 31 July 2026 use older column names, which the code on this page renames.

How wide is the NIFTY 15-minute opening range?

The NIFTY 15-minute opening range, from the 09:15 to the 09:29 IST index bar, had a median width of 77.7 points across 731 sessions from November 2023 to November 2026, or 0.32% of the 09:15 open. Half of sessions fell between 60.7 and 106.3 points, and expiry days matched other days at 77.2 points.

The NIFTY opening range widened year by year in points: a median of 71.4 points over 245 sessions in 2024, 80.4 points over 247 sessions in 2025 and 92.0 points over 201 sessions in 2026 to 3 November, measured on the same 09:15 to 09:29 IST index bars.

When does NIFTY break its opening range?

NIFTY closed a 1-minute index bar beyond its 09:15 to 09:29 IST range by 15:14 IST on 99.2% of 731 sessions from November 2023 to November 2026. The median first breakout bar was 09:38 IST, 65.0% of first breakouts came between 09:30 and 09:44 IST, and 81.2% came before 10:00 IST.

A NIFTY breakout bar is not a final direction. On 40.3% of breakout days the index later also closed a 1-minute bar beyond the opposite side of the range before 15:15 IST, and on 20.8% the 15:29 IST close finished beyond the opposite side. The 15:29 IST close stayed beyond the broken level on 53.1% of breakout days.

How did at-the-money NIFTY options do after an opening range breakout?

Buying the nearest-expiry at-the-money NIFTY call on an upside break, or put on a downside break, and selling at 15:15 IST returned a median −8.4% on 569 non-expiry days from November 2023 to November 2026, before costs. 42.9% of those trades ended positive; the median was +24.4% when the index closed beyond the broken level and −40.8% when it did not.

The same NIFTY breakout option trade on 155 expiry days returned a median −87.6%, with 31.6% of trades positive, because a same-day option loses most of its value by 15:15 IST unless the move continues. Expiry-day entries cost a median 56.4 points against 123.6 points on other days; the expiry-day data guide covers same-day contracts.

Does a NIFTY breakout backtest need options or futures?

A NIFTY breakout backtest that trades options needs the option chain, because index points do not convert to option returns at a fixed rate: across the 724 option trades measured, the 25th to 75th percentile return ran from −50.5% to +28.5%. A breakout that trades or hedges with NIFTY futures needs futures bars, which also carry traded volume for a volume filter.

Choosing between NIFTY option-chain data alone and options with futures and spot is covered in the options vs futures and spot guide. The NIFTY expiry weekday inside a 3-year window changed from Thursday (to 28 August 2025) to Tuesday (from 2 September 2025); every option and futures row carries expiry_date.

How were the NIFTY opening range figures measured?

Method: for each NIFTY session from 3 November 2023 to 3 November 2026 with index bars at 09:15, 09:29, 15:15 and 15:29 IST, the range was the high and low of the 09:15 to 09:29 IST bars, and the breakout was the first 1-minute close beyond it from 09:30 to 15:14 IST. Option prices used bars with volume above zero only.

The NIFTY measurement stops at 15:29 IST so that sessions before and after 3 August 2026 compare on the same bars. From 3 August 2026 NSE equity derivatives trade from 09:15 to 15:40 IST (NSE circular NSE/FAOP/74467); the closing auction guide covers the later bars.

import pandas as pd
names = {"timestamp": "datetime", "strike": "strike_price", "option_type": "right"}
day, expiry = "2026-10-21", "2026-10-27"
s = pd.read_parquet(f"NIFTY_SPOT_1min_{day}.parquet").rename(columns=names)
s = s.set_index(pd.to_datetime(s["datetime"]).dt.strftime("%H:%M")).sort_index()
rng = s.loc["09:15":"09:29"]
hi, lo = rng["high"].max(), rng["low"].min()
w = s.loc["09:30":"15:14"]
brk = w[(w["close"] > hi) | (w["close"] < lo)]
if brk.empty:
    raise SystemExit("no breakout")
t = brk.index[0]
side = "C" if brk["close"].iloc[0] > hi else "P"
k = round(brk["close"].iloc[0] / 50) * 50                         # ATM from spot
o = pd.read_parquet(f"NIFTY_OPT_1min_{day}_exp{expiry}.parquet").rename(columns=names)
o["hm"] = pd.to_datetime(o["datetime"]).dt.strftime("%H:%M")       # IST bar start
o = o[(o["strike_price"] == k) & (o["right"].astype(str).str[0].str.upper() == side) & (o["volume"] > 0)]
o = o.set_index("hm").sort_index()
entry = o[o.index > t]["open"].iloc[0]                             # next traded bar
exit_ = o[o.index <= "15:15"]["close"].iloc[-1]
print(t, side, k, "range", round(hi - lo, 2), "return %", round((exit_ / entry - 1) * 100, 1))

Which NIFTY pack should I buy for an opening range breakout backtest?

Buy NIFTY Complete, 3 years for a NIFTY opening range breakout backtest: it holds NIFTY options, futures and spot at 1-minute for the last 36 months on one IST clock, spanning both expiry weekdays. NIFTY options, 1-minute, 3 years holds the option chain only, without the index bars that set the range.

Coverage dates are on the NIFTY option chain data page, and the free NIFTY sample shows the option and spot file layouts before buying. File-by-file loading is in the Parquet in Python guide.

Exactly which fields are in the files

Options files

Column (layout A · layout B)TypeMeaning
datetime · timestamptimestampBar start time, IST wall-clock (e.g. 2026-09-10 09:15:00)
stock_code · —stringUnderlying code: NIFTY, or BSESEN for SENSEX
exchange_code · —stringNFO (NSE F&O) or BFO (BSE F&O)
product_type · —stringOptions
expiry_date · expirystringContract expiry (A: 15-SEP-2026, B: 2026-09-15)
strike_price · strikenumberStrike price
right · option_typestringA: Call / Put, B: CE / PE
open / high / low / closefloatTraded premium OHLC within the bar
volumeintVolume traded in the bar
open_interest · oiintOpen interest at that bar

No Greeks or bid/ask.

Format: Parquet. Validate on the free sample and the schema page before buying.

FAQ

What data do I need to backtest a NIFTY opening range breakout?

NIFTY 50 index 1-minute bars for the range and the break, plus the nearest-expiry option chain or NIFTY futures at 1-minute on the same IST clock to price the trade.

How wide is the NIFTY 15-minute opening range?

The 09:15 to 09:29 IST range had a median width of 77.7 points (0.32% of the open) over 731 sessions from 3 November 2023 to 3 November 2026 in Options Data files.

What time does NIFTY usually break its opening range?

The median first 1-minute close beyond the 09:15 to 09:29 IST range came at 09:38 IST, and 81.2% of first breakouts came before 10:00 IST, November 2023 to November 2026.

Can I use NIFTY index volume to confirm a breakout?

No. The NIFTY 50 index does not trade, so volume is 0 on every index row in Options Data files. Use NIFTY futures volume for a volume filter.

How often does a NIFTY opening range breakout reverse?

On 40.3% of breakout days the index also closed a 1-minute bar beyond the opposite side before 15:15 IST, and on 20.8% the 15:29 IST close finished beyond the opposite side.

Get the data

Free sample · Schema · Ask the AI for your data

NIFTY Complete, 3 yearsNIFTY options, 1-minute, 3 yearsFree NIFTY sample Get free sample by email

Related guides

Index and commodity data only.