πŸ“Š Educational backtesting tool Β· Historical NSE data (Dec 2006–Dec 2025) Β· Not investment advice Β· Terms & Privacy

Research Methodology

How BacktestIndia conducts educational backtesting research on NSE stocks using historical data

⚠️ Educational Research Notice

This methodology page describes our educational research framework. All backtests are historical simulations and neither constitute research nor investment advice. Content is published under the proviso to Regulation 2(1)(l) of the SEBI (Investment Advisers) Regulations, 2013 (widely available electronic medium) and Regulation 4(a) (general comments on market trends). T. Desai and BacktestIndia are not responsible for investment decisions based on this methodology. Consult a SEBI-registered Investment Adviser before investing.

1. What is Backtesting?

Backtesting is the process of applying a trading or investment strategy to historical data to see how it would have performed in the past. It's a fundamental tool in quantitative finance for understanding:

Critical Distinction: Backtesting shows what happened in the past. It does NOT predict what will happen in the future. Markets change, correlations break down, and past winners often become future losers.

2. Data Sources & Coverage

Data Provider

All historical price and fundamental data is sourced from EODHD Financial APIs, a professional-grade financial data provider used by quantitative researchers worldwide.

Time Period

Stock Universe

3. Factor Investing Framework

BacktestIndia's methodology is grounded in academic factor investing research, pioneered by Nobel laureate Eugene Fama and Kenneth French.

Core Factors We Test

  1. Value: Stocks with low price-to-earnings (PE) or price-to-book (PB) ratios
  2. Momentum: Stocks with strong recent price performance (6-12 month returns)
  3. Quality: Stocks with high return on equity (ROE), low debt, stable earnings
  4. Low Volatility: Stocks with lower-than-average price fluctuations
  5. Size: Small-cap vs large-cap performance differences

Academic References

4. Why We Don't Name Specific Stocks

BacktestIndia never shows individual stock names in backtest resultsβ€”in free tier, premium tier, or any mode. This is a deliberate choice for regulatory prudence.

Regulatory Reasoning

Under SEBI (Securities and Exchange Board of India) regulations, providing specific stock recommendations requires SEBI registration as an Investment Adviser or Research Analyst. BacktestIndia is neither:

What You Get Instead

Instead of stock names, you receive aggregate portfolio performance:

The Insight That Matters: The value of backtesting isn't in getting a list of stocks to buy today. It's in understanding whether YOUR factor-based rules created a portfolio that historically withstood crashes, recovered faster, and compounded consistently. That conviction helps you stick with a systematic approach during inevitable drawdowns.

5. Known Limitations of Backtesting

Every backtest has limitations. We transparently acknowledge ours:

Data Quality

Survivorship Bias

Look-Ahead Bias

Transaction Costs

Market Impact

Regime Change

6. How Our Backtesting Engine Works

Step-by-Step Process

  1. User defines strategy parameters (via chatbot or custom mode)
  2. Backend engine loads historical data from EODHD APIs
  3. Monthly rebalance: On first trading day of each month (or quarterly/annually):
    • Filter universe by user criteria (market cap, PE, PB, ROE, momentum, volatility)
    • Rank stocks by selected factor
    • Select top N stocks (user-defined portfolio size)
    • Apply weighting scheme (equal weight, value weight, inverse volatility weight)
  4. Simulate trades: Calculate portfolio value after transaction costs and slippage
  5. Track daily returns: Mark-to-market portfolio using end-of-day prices
  6. Apply taxes: Calculate LTCG (12.5%, holdings >1 year) and STCG (20%, holdings <1 year)
  7. Compute metrics: CAGR, Sharpe ratio, Sortino ratio, max drawdown, recovery time

Tax Modeling

Based on India's Finance Act 2024:

7. Backtesting vs Prediction

βœ… What Backtesting IS

  • Historical simulation
  • Educational analysis
  • Understanding past risks
  • Testing strategy logic
  • Learning from market cycles

❌ What Backtesting is NOT

  • Future performance prediction
  • Investment recommendation
  • Guarantee of returns
  • Risk-free strategy
  • Substitute for SEBI-registered advice

Key Principle: Past performance does not guarantee future results. Markets change. Correlations break. Regulations shift. Use backtesting to understand historical behavior, not to predict future outcomes.

8. Our Educational Mission

BacktestIndia exists to democratize access to quantitative investing education for Indian retail investors. Our goal is to help you:

We are not advisers, not portfolio managers, not fortune tellers. We are educators providing tools for self-directed learning.

Stop guessing. Start testing.