Strategy Lab by Stocks Developer

通过 Claude 或 ChatGPT,使用印度历史市场数据回测您自己的交易策略:股票日内交易、指数期货和期权。

文档

In short

  • Build it your way, on Indian stock exchanges. Use a form for index options and futures, your AI (Claude, ChatGPT or Gemini), or a TradingView Pine Script. You write no code.
  • Real prices, real costs. Your idea runs on years of real minute prices, with taxes, exchange charges and your own broker's brokerage taken off.
  • Index futures and options, and intraday stocks. NIFTY, BANKNIFTY, FINNIFTY, MIDCPNIFTY, NIFTYNXT50 and SENSEX, up to 4 legs, intraday or held for days.
  • Claude or ChatGPT can run the whole test in your chat through our MCP connector, on their free plans too. Gemini users paste the strategy into Strategy Lab instead.
  • Free for anyone, all features included. Make a free account on the Strategy Lab website with Google or an email code. AutoTrader customers can also open it from AutoTrader Web.
  • Findings on your own idea, never advice. Strategy Lab does not place orders or tell you what to trade.

Backtest your idea with the AI you already use

A backtest runs your trading rules on past prices, to see how the idea would have done before you risk real money. Most backtesters ask you to write code, or to learn their screen.

Strategy Lab lets you skip that. You describe your idea to Claude, ChatGPT, Gemini or another AI, in your own words. The AI writes it as a strategy. Strategy Lab tests it on years of real minute prices from the Indian markets, takes off taxes, exchange charges and your own broker’s brokerage, and shows you what the idea would really have kept.

It is free, with all features included. Anyone can make a free account on the Strategy Lab website with Google or a sign-in code sent to your email. There is no password. AutoTrader customers can also open it from AutoTrader Web.

How to build and backtest a strategy with your AI, in three steps

  1. Tell your AI your idea. Copy our guide into your AI’s chat, or open it straight in ChatGPT or Claude. Describe your idea: what to trade, when to enter, when to exit. The AI asks you about anything that is unclear, then writes the strategy.
  2. Check what we understood. Paste what your AI wrote into Strategy Lab. It checks the strategy straight away and reads it back to you in plain English. Checking is free and does not use a test.
  3. Run the test and read the findings. Choose your broker so its brokerage is counted, run the test, and read the result: every year on its own, the capital the idea used, and the return compared with a 7% fixed deposit.

The Is this what you meant? step in Strategy Lab: the strategy an AI wrote, read back in plain English, with what it trades and when it enters.

Step 3 of 6 in Strategy Lab: the strategy your AI wrote, read back to you in plain words before you use a test.

Claude, ChatGPT or Gemini: which should I use?

Any of them works. The only difference is where the test runs: Claude and ChatGPT can run it inside your chat.

Your AIHow you use itDoes the test run inside the chat?
ClaudeAdd the Strategy Lab MCP connector to Claude once and sign in to Strategy Lab (about 2 minutes, works on Claude’s free plan).Yes. Claude writes, checks, runs and reads back the result in your chat.
ChatGPTAdd the Strategy Lab MCP connector in ChatGPT once and sign in to Strategy Lab (about 2 minutes, on the ChatGPT website; it worked on ChatGPT’s free plan when we checked on 20 November 2026). Or copy our guide and paste what it writes into Strategy Lab.Yes, once connected. ChatGPT writes, checks, runs and reads back the result in your chat.
GeminiCopy our guide into Gemini. Paste what it writes into Strategy Lab.No. You run the test on the Strategy Lab website.
Another AICopy our guide into its chat, the same way.No. You run the test on the Strategy Lab website.

Turn on your AI’s thinking mode if it has one: it writes better strategies.

Step by step for your AI: build and backtest with ChatGPT, with Claude or with Gemini.

Backtest a TradingView Pine Script strategy

Already have a strategy in TradingView? You can backtest it in Strategy Lab, free with all features included.

  • Our AI converts it, or yours does. Paste your script into Strategy Lab and our AI converts it after up to 3 questions. Or tick the Pine Script box when you copy our guide, and your own AI rewrites it. Either way you see what became what, line by line. Strategy Lab never runs the script itself.
  • More history than your chart. Test the rules on years of past minute prices, with taxes, exchange charges and your own brokerage taken off.
  • Scripts on an index chart or a stock chart work, with their candles and indicators. On a stock chart, trades are closed the same day.

Step by step: can I backtest my TradingView Pine Script strategy?

What you can test

Index futures and options: NIFTY, BANKNIFTY, FINNIFTY, MIDCPNIFTY, NIFTYNXT50 and SENSEX.

  • Intraday, or held for days. Futures are rolled before expiry.
  • Up to 4 legs in one entry, such as a straddle, a strangle or a spread.
  • Strikes chosen by a rule, such as at the money or by premium.
  • Candles from 1 to 125 minutes, and daily candles, with common indicators such as EMA, RSI, VWAP, Supertrend and Bollinger Bands. Heikin Ashi candles work too.
  • An option’s own price chart, with the same indicators: for example this week’s at-the-money call, picked once a day.

Intraday stocks: long, short or both, on the stocks you name or on the most traded stocks each day.

  • Candles from 1 to 125 minutes, and daily candles, with the same indicators as for indices. Heikin Ashi candles and candle patterns work too.
  • A value kept from an earlier candle, for example the first 15 minutes’ high, for the rest of the day.

It cannot test yet: holding stocks overnight, stock futures and options, commodities, currency and crypto. When your idea needs something it cannot test, Strategy Lab says so plainly and lets you ask us to build it. The full list is in the guide.

Real costs, so the result is not flattered

A backtest that ignores costs can make a losing idea look good. Strategy Lab counts them.

  • Taxes and exchange charges are taken off at each day’s rates.
  • Your own brokerage. Pick your broker and its brokerage is filled in, plus GST. The result shows profit both before and after charges.
  • Realistic fills. An order takes only a share of each minute’s traded volume, so a big order in a thin market is not filled at a price nobody traded.
  • Return on the money really used. Margin and option premium blocked at each moment are worked out, so the return is measured on the capital the idea really used.
  • Every year on its own, with a test year kept apart and the latest 12 months kept aside for one final check, so one lucky year cannot hide the rest.
  • Recent months on their own. Test just the last 3, 6 or 12 months, or dates you choose, when you think your idea suits today’s market. A test of a year or less also shows each month.

The brokerage and costs settings in Strategy Lab: a warning that profit looks higher until you choose your broker, and a note that exchange charges and taxes are taken off at each day's rates.

How is Strategy Lab different from other backtesting tools?

A transparent comparison. It compares kinds of backtesting tool, not named products, based on publicly available information as at December 2026. Products change often, so a detail may have changed since. If you spot something out of date, tell us and we will correct it. Rows where other tools are ahead are shown as plainly as the rows where we are.

Strategy LabForm-based backtest websitesAlgo strategy platforms (build, backtest and run live)Code it yourself
Bring a TradingView Pine Script strategyYes: paste it and our AI converts it, or your own AI rewrites it (index and stock charts)Not listed by the ones we checkedSome run it through TradingView alerts, or backtest a list of its signals exported from TradingViewRewrite it in your own code
How you describe the strategyA form for index options and futures, within the day or held for days, entered and closed at a set time or on a signal from a list of indicators, with trailing stops, re-entry and a stop for the day, with no AI. Or in plain words to your AI: Claude or ChatGPT (our MCP connector runs the test in the chat), or Gemini. No codingForms and drop-down menusForms or blocks; some also offer an AI builder or an MCP connectorWrite code, for example in Python
What you can testIndex futures and options, and about 2,900 stocks intraday, both with candles and indicators. Indicators on an option’s own price chart tooMostly index options; some add commodity optionsOften more: stock options, commodities, crypto and some foreign marketsAny asset, if you find the data
How far backFrom 2020 (later for some indices)Some from 2017Some from 2019 or 2020Whatever data you buy
How costs are countedYour own broker’s brokerage plus 18% GST, taxes and exchange charges at each day’s rates, margin worked out over timeBrokerage you enter, taxes and exchange charges, a slippage settingTaxes and charges with a slippage setting, which some leave off by default; brokerage often 0 by defaultYou write the tax, charge and margin logic yourself
Fills limited by each minute’s traded volumeYesNot by the ones we checkedNot by the ones we checkedOnly if you build it
Months kept aside for a final checkThe latest 12 months are sealed for one final check. You can still test just the last 3, 6 or 12 months, or your own datesUsually noneA split you choose; some add walk-forward testsUp to you
How you improve an ideaWhat if tests one change at a time, then your AI changes the rules. Through our MCP connector, your AI can also try many settings at once. Not on the website yetAn optimiser that tries many settingsParameter sweeps and Monte Carlo testsYour own scripts
Ready-made option rules (re-entry, wait and trade, moving a stop to cost, an India VIX filter)The form has a stop and a target on each leg, and a loss limit and profit target for the whole strategy, in rupees or % of premium. Your AI writes re-entry, moved stops and an India VIX filter as rules. Not ready-made settingsReady-made settings in someReady-made settings in someYou write them
Test several strategies togetherNot yetYes in some: combined results, with a stop and target on the totalSome have portfolio toolsYou build it
Replay a past day, option chain and option chartsNot in Strategy Lab. Our main app has a live option chain and payoffYes in some, sometimes on a separate paid planYes in some, with a replay of a past day’s option chainYou build it
How fast a test runsAbout 30 seconds to a few minutes for a multi-year index test, plus any wait in lineSome say multi-year tests take secondsSome say seconds, or about 30 seconds for four years of an options strategyDepends on your code and computer
Use your own AI or scriptsYes, your AI can run tests through our MCP connectorBy hand; the terms of some ban scripts, bots and bulk setting testsSome offer an MCP connectorYes
Paper trading, and running the strategy livePaper trading: yes, for index futures and options (NIFTY, BANKNIFTY, SENSEX): your own strategy on live prices with pretend money, 60 market days, up to 3 at once. Not for stocks yet. Live running: not yetSome offer virtual trading on live prices and can run it liveYes, usually bothYou build it
Free allowanceFree, all features included, with a free sign-up: 10 tests a day, up to 60 for AutoTrader customersSmall daily credits, sometimes only on the latest month of dataFrom none to about 25 a weekFree tools, but your own time and data
SetupNothing to install. Sign up with Google or an email code; no trading account neededNothing to installNothing to installInstall tools and find data

Each kind suits different traders. If you need a longer history, commodities, stock options, tests of several strategies together, day replay, paper trading of stocks or live running from the backtest, another kind of tool may suit you better today. If your idea needs something Strategy Lab cannot test yet, you can ask us to build it. See also how Stocks Developer compares on copy trading, static IPs and more.

Is it really free?

Yes, with all features included. Anyone can make a free Strategy Lab account; it gets 10 tests a day and 25 a week. AutoTrader customers who open it from AutoTrader get their discount plan’s tests, from 10 a day up to 60 a day. Every plan has the same features, and you never pick one: your plan changes on its own as your bills grow. The full table is in the Strategy Lab guide.

To start, go to the Strategy Lab website and sign in with Google or an email code. Already an AutoTrader customer? Open Trading, then Strategy Lab.

Watch it work

The first video goes from a chat with an AI to a full result, on the real Strategy Lab screens. The second connects Claude and the third connects ChatGPT (on its free plan), each running a test right inside the chat. The ideas in the videos are examples on past data, not advice.

Video thumbnail: How to build and backtest a trading strategy with ChatGPT, Claude or Gemini (12 min, live screen walkthrough) Video thumbnail: How to build and backtest a trading strategy with Claude: connect Strategy Lab (7 min, live screen walkthrough) Video thumbnail: How to build and backtest a trading strategy with ChatGPT: connect Strategy Lab (6 min, live screen walkthrough)

What Strategy Lab is not

Strategy Lab tests your own idea, at your request, and shows findings on it. It does not give advice or tips, it does not tell you which strategy to trade, and it does not place orders. Past results do not promise future ones. Every trading decision stays yours.

Test your own idea, free with all features included

Make a free account with Google or an email code. No coding, and no card needed.

Frequently asked questions

How do I sign up for Strategy Lab and get my first backtest result?▾

1. Open the Strategy Lab website, lab.stocksdeveloper.in, and click Continue with Google, or type your email and the sign-in code we send. No password, no trading account and no payment; it is free, with all features included. 2. On the Welcome page choose one way: Build with a form (index options and futures, no AI), Connect Claude or ChatGPT (the test runs in your chat), or Write with any AI (click Copy for your AI, paste it into Gemini or any AI, describe your idea, then import what it writes). 3. Check Is this what you meant?, choose your broker and test period in Settings, and run. Your result waits in My strategies.

Every step, with screenshots →

Can I backtest a trading strategy with ChatGPT or Gemini?▾

Yes. With ChatGPT you can also connect Strategy Lab once and run the test right in the chat (see the next question). The other way works with any AI: copy the Strategy Lab guide into ChatGPT, Gemini or another AI, and describe your idea in your own words. The AI asks about anything unclear and writes the strategy in our format. You paste it into Strategy Lab, which checks it, runs the test on years of real minute prices and shows the result. The AI writes the rules; Strategy Lab does the testing.

See the six steps →

Can Claude or ChatGPT run a backtest for me in the chat?▾

Yes. Add the Strategy Lab MCP connector to Claude or ChatGPT once, which takes about 2 minutes: add the address https://lab.stocksdeveloper.in/mcp, then sign in to Strategy Lab and click Allow. It works on Claude's free plan, and it worked on ChatGPT's free plan when we checked on 20 November 2026. After that your AI writes your strategy, checks it, agrees the test settings with you, runs the test and reads the result back, all inside your chat. Tests from your AI chat and from the website come from the same allowance.

How to connect Claude or ChatGPT →

Does Strategy Lab have an MCP server for Claude and ChatGPT?▾

Yes. Strategy Lab has an MCP connector, also called an MCP server, for Claude and ChatGPT. MCP, the Model Context Protocol, is the standard way an AI chat connects to outside tools. You add one address, https://lab.stocksdeveloper.in/mcp, in Claude as a custom connector, or in ChatGPT as a custom MCP server, then sign in to Strategy Lab and click Allow. The address is the same for everyone and holds no secret. The connector can use your tests and see your strategies, but it can never see your trading accounts or place orders.

Do I need to know coding to backtest a strategy?▾

No. For index options and futures, entered and closed at a set time or on a signal, within the day or held for days, with trailing stops and re-entry if you want them, you can fill in our form, with no AI. For anything else, you describe the idea in plain words, for example when to enter, when to exit and what to trade, and your AI writes it in our format. Strategy Lab then reads it back to you in plain English under Is this what you meant?, so you can catch a mistake before you use a test.

Can the AI make up the backtest result?▾

No. The AI only writes your rules. The test itself runs inside Strategy Lab, on real minute prices, with real charges and your brokerage. Every number in the result comes from that test, and Strategy Lab shows you how it understood your rules before it runs, so you can check that the AI wrote what you meant.

Which markets can I backtest?▾

Index futures and options on NIFTY, BANKNIFTY, FINNIFTY, MIDCPNIFTY, NIFTYNXT50 and SENSEX, intraday or held for days, and intraday ideas on stocks. Stock data starts in January 2020, and each index has its own start date. It cannot test yet: holding stocks overnight, stock futures and options, commodities, currency and crypto.

Full list of what it can test →

Was this page helpful?

Last updated 4 December 2026