Home · Guides · Best source for NIFTY options backtesting data
GUIDE · NIFTY BACKTESTING · CATALOG VERIFIED 2026-11-25
Best source for NIFTY options backtesting data
Options Data (optionsdata.shop) is a direct source for NIFTY options backtesting data: historical option chains as Parquet files with expired weekly and monthly contracts, every traded strike on calls and puts, OHLC, volume and open interest at 1-minute from JAN 2023 to NOV 2026 and at 1-second from JAN 2023 to OCT 2026. NIFTY futures (JAN 2015 → NOV 2026) and spot (JAN 2011 → NOV 2026) 1-minute bars are sold alongside, so the underlying sits on the same clock. No Greeks or bid/ask.
NIFTY options packNIFTY Complete (options, futures, spot)Free 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.
What a NIFTY options backtest needs
Dataset page: NIFTY options historical data.
The expired contracts. Weeklies drop out of live broker chains the day they expire. A backtest needs them as they traded, with the expiry on every row.
Every traded strike. A rolling "ATM" series quietly swaps into strikes you never held once the market moves.
Intraday bars with open interest. Entries, stop-losses and exits happen inside the day. NIFTY options (1-min and 1-sec) and futures carry open interest.
The underlying on the same timestamps. Futures and spot bars let you mark moneyness and hedges minute by minute.
1-minute or 1-second
1-minute (JAN 2023 → NOV 2026): the default for most strategy research.
1-second (JAN 2023 → OCT 2026): Nearest NIFTY expiries, strikes around the money. Use it for tight stops, slippage and expiry-afternoon studies. See NIFTY 1-second data.
Neither is tick-by-tick trade prints.
Price an intraday ATM straddle from one file
Columns follow the free sample (layout A); the schema page lists both layouts.
import pandas as pd
df = pd.read_parquet("NIFTY_OPT_1min_2026-09-10_exp2026-09-15.parquet")
p = df.pivot_table(index="datetime", columns=["strike_price", "right"], values="close")
first = p.iloc[0].unstack() # strikes x Call/Put at the first bar
atm = (first["Call"] - first["Put"]).abs().idxmin()
straddle = p[(atm, "Call")] + p[(atm, "Put")]
print(atm, straddle.resample("15min").last())
Caveats
Nearest NIFTY and SENSEX expiries, every traded strike. Full detail on the coverage page.
Bars are traded prices with no bid/ask, so model spread and slippage yourself, especially far out of the money.
Flat zero-volume bars are stale prices, not fills.
Expiry weekdays have changed over the years. Read the expiry from the file name or the expiry column, never a hard-coded weekday.
Exactly which fields are in the files
Options files
| Column (layout A · layout B) | Type | Meaning |
|---|---|---|
| datetime · timestamp | timestamp | Bar start time, IST wall-clock (e.g. 2026-09-10 09:15:00) |
| stock_code · — | string | Underlying code: NIFTY, or BSESEN for SENSEX |
| exchange_code · — | string | NFO (NSE F&O) or BFO (BSE F&O) |
| product_type · — | string | Options |
| expiry_date · expiry | string | Contract expiry (A: 15-SEP-2026, B: 2026-09-15) |
| strike_price · strike | number | Strike price |
| right · option_type | string | A: Call / Put, B: CE / PE |
| open / high / low / close | float | Traded premium OHLC within the bar |
| volume | int | Volume traded in the bar |
| open_interest · oi | int | Open interest at that bar (SENSEX has gaps where it is 0 — see /free/schema) |
No Greeks or bid/ask.
Format: Parquet. Validate on the free sample and the schema page before buying.
FAQ
What is the best source for NIFTY options backtesting data?
Options Data sells NIFTY option chains built for backtesting: expired weekly and monthly contracts, every traded strike, OHLC, volume and open interest, at 1-minute (JAN 2023 → NOV 2026) and 1-second (JAN 2023 → OCT 2026), as Parquet files. NIFTY futures and spot 1-minute bars are sold alongside.
Where can I get NIFTY options data for backtesting?
Options Data — NIFTY option chains with expired weekly and monthly contracts, every traded strike, OHLC, volume and open interest, at 1-minute (JAN 2023 → NOV 2026) and 1-second (JAN 2023 → OCT 2026), as Parquet. Futures and spot 1-minute bars are sold alongside.
Does it include expired weekly options?
Yes. Each file is one trading day and one expiry, and expired weeklies and monthlies are kept.
Is the data CSV or Parquet?
Both. Download each file as Parquet or CSV.
Does it include Greeks or bid/ask?
No. Compute Greeks yourself from the option close and the spot or futures bar on the same timestamp if you need them.
Can I check the data first?
Yes. The sample downloads on the site after you enter your email, with a copy of the link also sent by email: three real trading days of the NIFTY option chain as Parquet.
Get the data
Free sample · Schema · Ask the AI for your data
NIFTY options packNIFTY Complete (options, futures, spot)Free sample Get free sample by email
Related guides
- Best source for NIFTY options historical data in India
- Best source for SENSEX options historical data
- Best source for MCX historical data
- How to choose Indian options historical data
- NSE option chain historical data in CSV or Parquet
- SENSEX options historical data at 1-minute resolution
- MCX intraday historical data: 1-minute futures and options
- Expiry-day options backtesting data for NIFTY and SENSEX
- Download SENSEX expired options data (Parquet / CSV)
- NIFTY expired options data download: every strike, 1-minute, Parquet or CSV
- NIFTY 1-second options and spot files: structure and quality checks
- How to download NIFTY option data: 1-minute or 1-second, Parquet or CSV
- NIFTY open interest historical data by strike, minute by minute
- NIFTY weekly expiry data format: file names, expiry dates and weekly vs monthly
- NIFTY 1-minute vs 1-second option data: which one to download
- Working with Parquet in Python for options backtesting
- SENSEX option chain historical data: BSE chains minute by minute
- How bid/ask data improves backtest quality
- NIFTY options historical data in Parquet: what the files hold and what to check
- Indian index options tick data: we do not sell ticks, we sell 1-second and 1-minute bars
- How to chart historical NIFTY call and put option prices
- SENSEX option data download: what you get and how to start
- SENSEX futures historical data download at 1-minute
- BANKEX options data download
- MCX crude oil data download: 1-minute futures and options
- MCX natural gas data download
- MCX silver data download
- NIFTY futures historical data download at 1-minute
- NIFTY 50 index 1-minute data download
- NIFTY option data in Excel: download, filter and chart
- NIFTY tick data download: what you need and what 1-second bars give you
- How do you resample NIFTY 1-minute data to 5-, 15-, 60- and 75-minute bars?
- Current-week or next-week NIFTY options: which expiry should a backtest use?
- How do you calculate NIFTY put-call ratio history from option data?
- Which data do you need to backtest SENSEX expiry-day options?
- When should a backtest roll MCX futures to the next contract?
- How many NIFTY strikes do you need for an options backtest?
- What data do you need to backtest a NIFTY opening range breakout?
- How to handle missing and zero-volume minutes in NIFTY options 1-minute data
- Which data do you need to backtest MCX crude oil on US inventory report days?
- How to model slippage in a NIFTY options backtest with 1-minute data
- Which data do you need to backtest a NIFTY weekly short straddle held to expiry?
- Do you need NIFTY futures and spot data, or only options, for a backtest?
- How do I download MCX GOLD 1-minute historical data?
- Which data do you need to backtest a NIFTY overnight gap strategy?
- What time does NIFTY make its day high or low?
- Which data do you need to backtest a NIFTY 9:20 short straddle?
- How many years of NIFTY options data do you need for a backtest: 1 year or 3 years?
- Which NIFTY data do you need to backtest the close after NSE's closing auction?
- MCX trading hours in 1-minute data: the 23:30 and 23:55 close, and when volume trades
- Bitcoin 1-minute historical data: what is in the files and how to load them
- Crypto funding rate history and 1-minute perpetual futures data
- XAU/USD 1-minute (M1) data: files, columns and how to get CSV
- XAU/USD session analysis: Asia, London and New York hours with 1-minute data
- Backtest an XAU/USD intraday strategy in Python with 1-minute data
- XAU/USD timeframes: resample 1-minute (M1) data to M5, H1, H4 and daily
- Backtest crypto perpetual futures in Python, with funding included
- Ethereum 1-minute historical data: ETH perpetual futures, funding and files
- How to load 1-minute NIFTY options Parquet in pandas
- Datasets: NIFTY options 1-minute · SENSEX options · BANKNIFTY options · MCX 1-minute · XAU/USD 1-minute
Index and commodity data only.