How to Backtest Options Strategies with AI: ChatGPT and Claude on Real NIFTY and SENSEX Data
Ask ChatGPT or Claude in plain English and get a real options backtest on one-minute NIFTY and SENSEX option prices, with every charge. Free for the last year of data.

Ask a chatbot how a short straddle did on NIFTY last year and it will invent an answer. Connect it to an options backtesting engine and it can give you a real one. This guide shows how to backtest options strategies with AI, using Stratify, a free options backtesting MCP server for NIFTY and SENSEX.
Can ChatGPT or Claude backtest options on their own?
No. ChatGPT and Claude have no historical option prices, so any backtest result they produce on their own is a guess. To backtest an options strategy with AI, the AI needs a tool that holds real option data and runs the simulation. That tool is an MCP server: your AI writes the strategy, the server runs the backtest on its data, and the results come back to your chat.
Four ways to backtest options strategies

A spreadsheet, a broker or web backtesting platform, Python with a data vendor, or your AI with a backtesting server. The gap that matters most is real intraday option prices plus every charge. Without both, an options backtest flatters the strategy.
How to backtest options with AI in three steps

- Sign in at stratify.aeon-labs.site with Google. It's free.
- Connect Stratify to your AI: the Stratify app in ChatGPT, or a custom connector in Claude (Settings, Connectors, Add custom connector).
- Ask for a backtest in plain English, for example "backtest a NIFTY short strangle 1% out of the money, entered two days before expiry".
Stratify also works in Claude Code, Cursor, VS Code, Codex and Gemini CLI, or any MCP client.
What an AI options backtest looks like
Prompts to backtest a straddle, strangle, iron condor and more

Copy any of these into ChatGPT or Claude:
- "Backtest a NIFTY short straddle at the money, entered at 9:30 two days before weekly expiry, held to expiry."
- "Backtest a SENSEX iron condor with short strikes 1% out and 1% wings."
- "Compare a NIFTY short strangle with and without a 2× stop loss."
- "Backtest a bull put spread on NIFTY and show the worst drawdown."
- "Only enter the NIFTY short straddle when India VIX is below 15. How does that change the result?"
- "Which weekday entry worked best for a NIFTY iron fly last year?"
Or write the whole strategy as one paragraph, with entry conditions, stops and rolls:
NIFTY options backtest: ten strategies, one year of real data

Ten textbook options strategies on NIFTY weeklies, entered two days before expiry and held to expiry, one lot, after charges, July 2025 to June 2026. The bull put spread won 90% of weeks and made ₹2.3k. Its worst drawdown was ₹17.4k. A high win rate is not a good strategy.
How to read an options backtest

Then open the replay and watch any trade play out, minute by minute, on the index chart:
Five ways an options backtest can mislead you

Frequently asked questions
Can I backtest options in ChatGPT?
Yes, once ChatGPT is connected to a backtesting server. Add the Stratify app in ChatGPT, describe the strategy, and ChatGPT sends it to the server, which runs it on real one-minute NIFTY or SENSEX option prices.
Can Claude backtest trading strategies?
Yes, with a connector. In Claude, go to Settings, Connectors, Add custom connector, paste the Stratify URL and sign in. Claude Code, Cursor and VS Code connect the same way through MCP.
Is there a free options backtesting tool for NIFTY and SENSEX?
Stratify is free for the last year of NIFTY and SENSEX data (July 2025 to June 2026), up to 100 backtests an hour. Longer history (NIFTY from 2019, SENSEX from August 2023) is on a waitlist.
Which options strategies can I backtest?
On both indices: short straddles, short strangles, iron condors, iron flies, credit spreads and long calls and puts. On NIFTY, also debit spreads, calendar spreads and your own legs and rules, with stop losses, targets, rolls, and entry conditions such as India VIX or RSI.
Does the backtest include brokerage, STT and other charges?
Yes. Every trade carries brokerage, STT, exchange and SEBI fees, GST and stamp duty, and results are reported after charges.
What data does the backtest use?
One-minute prices for NIFTY and SENSEX weekly options, not end-of-day closes, so stop losses and intraday exits are checked minute by minute.
What is an MCP server?
The Model Context Protocol (MCP) is the standard way AI apps like ChatGPT and Claude use outside tools. An MCP server for backtesting gives your AI a real engine and real data, so it can answer with computed results instead of guesses.
Can I backtest BANKNIFTY or stock options?
Not yet. NIFTY and SENSEX only.
Does it give trading tips or place trades?
No. It's a historical simulation, one lot, after charges. It won't tell you what to trade.
Start backtesting options with AI for free at stratify.aeon-labs.site. The server is open source: github.com/Srinath-exe/stratify-mcp.
Backtest NIFTY and SENSEX options from ChatGPT or Claude. Free for the last year of data.
Start free with GoogleMore guides
Story · 5 min readI asked ChatGPT to backtest an options strategy. Here's where the answer actually came from.
What happens when ChatGPT backtests an options strategy: your AI writes the spec, and Stratify runs it on 372 million one-minute NIFTY and SENSEX bars.
Engineering · 3 min readBacktesting 372 Million Option Bars Your AI Never Sees: A Compute-to-Data MCP Server
How an MCP server backtests options on 372 million one-minute bars without the data leaving: architecture, measured capacity and scaling.