A backtest checks how a strategy would have done in the past. It is easy to fool yourself by using information that was not available then.
For example, using today's Nifty list for 2010 ignores companies that dropped out. The results will look better than reality.
A SIMPLE EXAMPLEA strategy picks the top 10 stocks from today's index and tests from 2015. Those companies are in the index today because they did well. The test is flattered.
Remember
- Use only data available on each date.
- Include costs and taxes.
- Be wary of backtests that look too good.
Quick check
Using today's index members for a 10-year backtest is a problem because:
The losers that left the index are missing, so results look better.