Glowing teal and blue bars rising left to right over a glass floor, like a year of monthly returns

A backtest answers one question: "If I had run this strategy on historical data, what would have happened?" It's the only rigorous way to evaluate a systematic strategy before committing real money. No backtest, no basis for conviction.

But backtests are also notoriously easy to abuse. Every strategy looks excellent on the data it was designed on. The skill is building backtests that are honest, and reading other people's backtests with appropriate scepticism. After years of building systematic strategies, I can tell you: most back tests you'll come across are optimistic. Some are outright deceptive.

  1. Point in time dataNo future peeks; companies that later died stay in.
  2. Full cost stackSTT, stamp duty, fees, GST and slippage on every trade.
  3. Out of sampleTest on years the rules never saw.
  4. Stress windowsInclude crashes like 2008 and 2020.
  5. Small and liveReal money, small size, before full size.

Skip any one of those and the back test flatters itself. Skipping costs alone can add a couple of percentage points a year to a strategy that trades often, as Module 1.5 showed with real rates.

3By the end you can

  1. List the five steps of a back test and the data each step may use.
  2. Spot survivorship bias, look ahead bias and overfitting in a strategy pitch.
  3. Compare a back calculated index history with its live years and size your expectations to the live number.

3 terms this section turns on

3 terms this section turns on3 terms this section turns on. Backtest: A simulation of how a strategy would have performed if applied to historical data according to its defined rules. Survivorship bias: Distortion from excluding failed/delisted companies from a historical universe, inflating apparent past performance. Overfitting: Designing strategy parameters specifically to historical data, producing excellent backtest results but poor forward performance.BacktestA simulation of how a strategy would haveperformed if applied to historical dataaccording to its defined rules.Survivorship biasDistortion from excluding failed/delistedcompanies from a historical universe,inflating apparent past performance.OverfittingDesigning strategy parameters specifically tohistorical data, producing excellent backtestresults but poor forward performance.
From the module glossary; every term is in the Learn glossary too. Source: Module 2.4, How Backtesting Works.

What a backtest actually does

1
Define the rules
Specify signal (e.g., 12M-1M momentum), universe (Nifty 500), portfolio size (top 30 stocks), rebalance frequency (monthly), position sizing (equal weight), and cost assumptions.
2
Loop through historical dates
For each rebalance date, apply the rules to data available at that point. Rank all 500 stocks by momentum. Select top 30. Critical: you can only use data that would have been available on that date, not future data.
3
Simulate trades and costs
Calculate which stocks enter and exit. Apply realistic transaction costs: brokerage, STT (0.1% both sides), exchange charges, GST, stamp duty, and slippage. This is where most back tests fail: they ignore costs or use unrealistically low ones.
4
Calculate returns and metrics
Track the simulated portfolio value over time. Calculate CAGR, max drawdown, Sharpe, Sortino, alpha. Build the equity curve and underwater plot.
5
Compare to benchmark
Run the same period for Nifty 500 TRI (Total Return Index, which includes reinvested dividends). Compare CAGR, drawdown, and Sharpe. Alpha = strategy return minus beta-adjusted benchmark expectation.
The RupeeCase terminal on sample data: Model history or your portfolio: which numbers am I looking at?
Watch in the terminal: which numbers am I looking at? A short tutorial on sample data.

The key discipline: every calculation at each historical date must use only data available at that point in time. You cannot use today's knowledge to make decisions that were simulated in 2015. This sounds obvious, but it's violated constantly.

The three biases that make backtests misleading

Survivorship Bias
Running a backtest only on stocks that are currently in the Nifty 500, without including companies that were in the index historically but later delisted, merged, or went bankrupt. The historical universe looks better than it was because you've removed all the failures.
Indian example: DHFL was once a large, index eligible stock. After its collapse and insolvency, its shares were extinguished and delisted in 2021. Build a back test from today's list of stocks and DHFL simply is not there, so the loss it caused never shows up. The fix is point in time membership: at every past date, use the universe as it actually stood that day.
Look-Ahead Bias
Using data that would not have been available at the time of the simulated decision. Under SEBI's listing rules, quarterly results can arrive up to 45 days after the quarter ends, and full year audited results up to 60 days after 31 March. Using June quarter results to make a decision dated 1 July contaminates the back test with information nobody had until mid August.
Indian example: A strategy using March quarter earnings to make April 1 buy decisions is using look-ahead data. Those results could arrive as late as the end of May. The fix is a reporting lag: treat fundamental data as available only after the date it was actually filed with NSE or BSE.

₹100 in Allcap Multi Asset became about ₹131 in the model

₹100 in Allcap Multi Asset became about ₹131 in the modelAllcap Multi Asset: from 100 at 15 Nov 2024 to 131 at 30 Sep 2026, high 133 at 31 Aug 2026, low 88.7 at 28 Feb 2025. Nifty 50, same window: from 100 at 15 Nov 2024 to 96.1 at 30 Sep 2026, high 111 at 30 Nov 2025, low 94 at 28 Feb 2025.Allcap Multi AssetNifty 50, same window90100110120130Jan 2025MaySepJan 2026MaySep13196.1
Allcap Multi Asset, the strategy this path applies, rebased to 100, after charges. The Nifty 50 TRI is drawn as its CAGR line, not the daily index. Model, back tested, not actual client returns. Source: RupeeCase published model record (lineup.json), monthly. As of 30 Sep 2026.
Overfitting (Data Mining Bias)
Testing hundreds of parameter combinations, different lookback windows, portfolio sizes, rebalance frequencies, and reporting only the one that performed best historically. Any strategy will look brilliant on the exact data it was optimised on. The question is whether it will work on new, unseen data.
How to spot it: A strategy with very specific parameters ("rebalance on the 8th of each month, use 143-day lookback, hold exactly 17 stocks") is almost certainly overfitted. Robust strategies produce similar results across a range of reasonable parameters, the exact value doesn't matter much.

The honest backtest checklist

+
Transaction costs included? Statutory costs alone are about 0.24% of the amount on a delivery round trip, before brokerage and slippage; mid and small caps cost more to trade. A back test without costs is fiction.
+
Point-in-time constituent data? Universe at each historical date must reflect what was actually in the index at that time, including companies that later failed.
+
Realistic reporting lag for fundamentals? If the strategy uses earnings or balance sheet data, the backtest must respect when results were actually published on NSE/BSE.
The RupeeCase terminal on sample data: Net return and charges: what do estimated costs take?
Watch in the terminal: what do estimated costs take? A short tutorial on sample data.
+
Multiple market cycles covered? A back test that starts in 2021 misses both the 2008 crash and the 2020 fall. Good back tests cover at least one major bear market, or say clearly that they do not.
+
Parameter robustness shown? Performance should be similar across adjacent parameter values (9M, 10M, 11M, 12M momentum lookback). If only one exact value works, it's likely overfitted.
×
Red flag: Only CAGR shown. No drawdown, Sharpe, or alpha shown? They're hiding unflattering numbers. Every strategy has drawdowns.
×
Red flag: Sharpe above 2.5 on long-only equity. NSE's factor indices, measured from 2005 with a 7% risk free rate, sit around 0.5; even strong strategies rarely hold much above 2 for long. Sharpe of 3+ almost certainly means overfitting or a bug.
×
Red flag: "This is our best parameter set." If they only show the optimised result without showing how adjacent parameters performed, overfitting is likely.

The golden rule: A backtest can tell you what would have happened. It cannot tell you what will happen. Use it to eliminate strategies that couldn't have worked, not to guarantee strategies that will work. The best backtests are honest about this distinction.

NSE, Historical Data & Corporate Filings (backtest data source) NSE Indices, Nifty 500 Historical Constituent Data
A single ray of light passes through a tilted glass slab and fans out into teal, blue and violet bands

A worked example: back calculated versus live

NSE gives you a clean natural experiment. Its factor indices are launched on a date, and NSE also publishes their history from before that date by applying the rules to past data. Everything before launch is a back test. Everything after is live. Look at what happened.

The long history looked better than the live years

Total return CAGR to 31 Aug 2026: since 2005 (mostly back calculated) against the last 5 years (live)

  1. Momentum 30, since 200518.70%
  2. Momentum 30, last 5 years11.02%
  3. Quality 30, since 200517.16%
  4. Quality 30, last 5 years8.88%
  5. Nifty 200, last 5 years10.42%

Source: NSE Indices factsheets and Index Dashboard, 31 Aug 2026. Nifty200 Momentum 30 launched 25 Aug 2020; NIFTY200 Quality 30 launched 17 Apr 2018. History before launch is NSE's back calculation.

What would you do?

A strategy shows 38% CAGR, a Sharpe of 3.1 and no drawdown table. Back tested from 2021. One set of parameters.

  1. Invest, the numbers are great

    Three red flags at once: a Sharpe far above what long only equity sustains, no drawdowns shown, and one hand picked parameter set. Expect the live result to be much lower.

  2. Ask for drawdowns, costs and nearby parameters first

    Right questions. If the result holds across nearby settings, includes costs and shows its falls, it deserves a closer look. If not, you have saved yourself the lesson.

An illustration of the checklist above, not a real product.

Two terms to hold on to from 2.4

Two terms to hold on to from 2.4Two terms to hold on to from 2.4. Look-ahead bias: Using data in a simulated historical decision that would not actually have been available at that date. Out-of-sample testing: Evaluating a strategy on data not used during design. The most reliable test of genuine robustness vs overfitting.Look-ahead biasUsing data in a simulated historical decisionthat would not actually have been available atthat date.Out-of-sample testingEvaluating a strategy on data not used duringdesign. The most reliable test of genuinerobustness vs overfitting.
From the module glossary. Source: Module 2.4, How Backtesting Works.
Read 2 more paragraphs, 146 words

After launch, momentum stayed ahead of its parent universe (11.02% a year against 10.42% for the Nifty 200 over five years) and quality fell behind it (8.88%). Neither came close to the number in its long history. That is not fraud and it is not failure. It is what every honest back test looks like once the future arrives: the edge survives, smaller and bumpier. Size your expectations to the live number, not the brochure number.

Apply the same eye to any strategy, including the ones on RupeeCase. The lineup's strategy pages show a model, back tested history over a rolling window of about five years, starting in 2021. That window does not include 2008 or the 2020 crash. It does include the 2024 to 2025 correction, which is why the worst drawdowns on those pages sit there. Read every figure with the window in mind.

Common mistakes when reading back tests

Taking the CAGR as a forecast. It is a description of the past under the rules. The live number is usually lower.

Ignoring the window. A five year back test from 2021 and a twenty year one from 2005 are different animals. Check the start date.

Missing the difference between model and client returns. A model ignores when you joined, how much you added and what you paid. Your own result will differ.

Trusting a perfect curve. Real strategies have ugly years. A smooth line with no falls is a warning, not a comfort.

MythA back test shows what you would have earned.

FactIt shows what a rule would have earned, on data cleaned after the fact, with costs assumed. Your own result depends on when you start, what you add and what you actually pay.

Key takeaways

  • A back test applies fixed rules to past data, using only what was known on each date.
  • Survivorship bias drops the failures; point in time membership puts them back.
  • Quarterly results can arrive up to 45 days after the quarter; lag them.
  • A long only equity Sharpe above 2.5 is a red flag, not a feature.
  • Live results usually run below the back test, even when the edge is real.

Where this section sits in module 2.4

Where this section sits in module 2.4Where this section sits in module 2.4. 1. The three biases that make backtests misleading 2. The honest backtest checklist 3. A worked example: back calculated versus live 4. Common mistakes when reading back tests 5. Key takeaways 6. How this shows up in RupeeCase01The three biases that makebacktests misleading02The honest backtest checklist03A worked example: back calculatedversus live04Common mistakes when reading backtests05Key takeaways06How this shows up in RupeeCase
Sections 2 to 7 of 7; the highlighted one is next. Source: Module 2.4, How Backtesting Works.

How this shows up in RupeeCase

Every return figure on RupeeCase carries the label "Model, back tested" and the date it was checked, and every strategy page shows the drawdowns and the benchmark next to the CAGR. On a strategy chart you can add indices to compare against, as in the screen below, so you can test the comparison yourself instead of taking a headline number. The tutorials Model history or your portfolio, The performance disclosure and Compare strategies show those screens. The derivatives modules Five biases that ruin a back test and Walk forward testing go further.

RupeeCase strategy chart with the Compare picker, adding the Nifty 500 and Nifty Bank lines next to the model line
Compare on a strategy chart: add the Nifty 500 or a sector index next to the model line. Sample data.
What is walk forward testing?

You fit or choose the rules on one stretch of history, test them on the next stretch the rules never saw, then roll the window forward and repeat. It mimics how a strategy actually lives: decided on the past, judged on the future.

How many years of back test are enough?

Enough to include at least one full bear market and recovery. In India that usually means going back past 2020, and ideally past 2008. Shorter windows are fine if they are labelled honestly.

Why do my own returns differ from a strategy's model returns?

Start date, additions and withdrawals, rounding to whole shares, execution prices and costs all differ from the model. Module 2.6, Model history vs your portfolio, shows how to measure your own return properly.