Backtesting means running a trading strategy on past market data to see how it would have performed. It shows you the returns, the losses and the risk before you put any real money behind the strategy.
The main reason to backtest is to answer two questions. How much did the strategy make in the past? And how much did it risk to make that return?
A backtest answers both questions well. But it also has limits that many traders ignore. This guide explains why backtesting matters for Indian traders, where it falls short, and how to use it the right way.
What a Backtest Tells You
A good backtest report shows how your strategy behaved across many trading days, not just a few lucky ones. Look for these numbers:
Total return shows how much the strategy made over the test period.
Maximum drawdown shows the biggest fall from a peak, which is the pain you would have had to sit through.
Win rate and average profit or loss per trade show whether the strategy wins often or wins big.
Month-by-month results show whether the profits came from steady performance or from a few unusual days.
These numbers help you compare strategies and drop weak ideas early, before they cost you money.
On AlgoTest, you can backtest options strategies on more than 7.5 years of historical data. You can also add slippage and brokerage to the test, so the results sit closer to what real trading would look like. Every account gets 25 free backtests per week.
Limitations of Backtesting Trading Strategies in India
A backtest is a strong tool, but some questions it cannot answer well. Knowing these limits keeps you from trusting a good-looking report too much.
Will the strategy keep making money live?
Maybe. A backtest shows what worked in the past, not what will work next month. Markets change, and a strategy that fit past data well can stop working.
What price will you actually get?
Say your strategy wants to buy an option when its last traded price (LTP) is ₹100. When you place the order, you may get it at ₹100, ₹105 or ₹95. The gap between the price you wanted and the price you got is called slippage.
Slippage is usually bigger in fast markets, on strikes with low trading volume, and on expiry days. A backtest that ignores it will look better than real trading. Always add a realistic slippage and brokerage cost when you test.
How did the trade look during the day?
A backtest gives you the final profit or loss for each day. It does not show how the position moved in between. A trade might end the day in profit after sitting at a big loss at 11 AM. Would you have held on, or exited in panic?
To see this, replay the day in the AlgoTest Options Simulator. It lets you step through a past trading day, watch option premiums move and see how your position looked at each point. It is free to use, and manual traders can use it to practise entries and exits without risking money.
Popular backtests get crowded
When a backtest result becomes popular, many traders run the same strategy at the same time. A few years ago, intraday short straddles such as the 9:20 straddle went through this. Some traders made money, while others lost heavily on sudden, sharp moves. A strategy that many people trade the same way may not behave like its old backtest.
How to Use Backtesting the Right Way: The 3-Step Cycle
At AlgoTest, we treat a backtest as the first step, not the final answer. A strategy goes through three steps before it handles real money:
Backtest. Test your strategy rules on historical data. Change and retest until the results look promising, then freeze the settings.
Paper trade (forward test). Run the frozen strategy on live market data without placing real trades. Track every trade it would have taken and compare the result with your backtest. You can do this with paper trading on AlgoTest.
Go live, small. If the backtest and paper trading results are close, deploy the strategy with a small size, such as one lot. Scale up only after the live results match what you tested.
Many traders skip Step 2 and go straight from a good backtest to live trading. The next section explains why that often goes wrong.
Read Why Maximum Drawdown Matters in Trading and Risk Management
Data Snooping: Why You Should Not Skip Paper Trading
A common pattern goes like this. A trader takes one fixed set of data, say from 2019 to today, and keeps adding rules and tweaking settings until the backtest looks great. Then the strategy goes live and performs far worse.
The main reason is data snooping, also called data dredging. When you test many versions of a strategy on the same data, some will look good purely by chance. Their good results come from fitting past noise, not from a real edge.
To guard against this, you need two kinds of data:
In-sample data is the data you use to build and tune the strategy.
Out-of-sample data is fresh data the strategy has never seen, used only to check it.
There are two simple ways to get out-of-sample data:
Paper trade the frozen strategy on live market data. This is Step 2 of the cycle above.
Split your historical data into two separate periods. Build the strategy on the earlier period, then check it on the later one without changing any settings.
If the in-sample and out-of-sample results are similar, the chance of data snooping is lower. Your strategy might have a real edge. If the out-of-sample results are much worse, go back to the drawing board before risking money.
Free Backtesting Software for Options Trading in India (2026)
Market Rules Change, and Old Backtests Can Mislead
Past performance does not guarantee future performance. In India, this is more than a warning line, because F&O market rules have changed a lot since late 2024. A backtest that mixes the old and new rules can give you a misleading picture.
Here is how to handle these changes in your testing:
Run the strategy separately on the period after September 2025, so you see how it behaves under the current expiry schedule.
Compare those recent results with the full-period backtest. A big gap means the old results may not hold.
Expect some losses in live trading even after good backtests and paper trading, because market phases change and execution is never perfect.
A strategy that stopped working may also start working again in a different market phase. Keep your results, and retest when conditions change.
Turn Your Backtest Into a Strategy You Can Trust
A backtest is where a strategy starts, not where it ends. Define clear rules for entry, exit and position risk, then test them on past data with realistic slippage and costs. Check the results on recent data under today's expiry rules, freeze the settings, and paper trade before you go live with a small size.
AlgoTest helps you move from an idea to a strategy you can inspect and test before deciding whether to deploy.
Join us as we simplify algo trading in India.
Related Reading
How to Backtest Algo Trading Strategies: Intraday, BTST, Positional & More
Nifty Expiry Day: 7 Rules Every Options Trader Should Follow
FAQs
What is backtesting in trading?
Backtesting is running a trading strategy on past market data to see how it would have performed. It shows returns, drawdown and win rate before you risk real money.
Is a good backtest enough to start trading live?
No. A backtest can look good by chance, especially if you tuned the strategy many times on the same data. Paper trade the strategy on live market data first, and go live with a small size only if the results are close.
How many years of data should I use for a backtest?
Use as many years of good-quality data as you can, so the strategy faces different market phases. Also check the recent period on its own, because India's expiry rules changed in November 2024 and again in September 2025.
Why do live results differ from backtest results?
The most common reasons are slippage, trading costs, crowded strategies and changing market conditions. Adding realistic slippage and brokerage to your backtest reduces the gap, but it never removes it completely.
What is the difference between a backtest and the Options Simulator?
A backtest runs your rules across many past days and gives you summary results. The Options Simulator replays a single past trading day, so you can see how premiums and your position moved during that day.
Is backtesting free on AlgoTest?
Yes, up to a limit. Every AlgoTest account gets 25 free backtests per week, and the Options Simulator is free to use. Paid plans are available if you need more backtests.