Home/Blog/Common Backtesting Mistakes That Inflate Your Returns
BacktestingTrading StrategyQuantitative AnalysisRisk Management

Common Backtesting Mistakes That Inflate Your Returns

Lookahead bias, curve-fitting, and survivorship bias are the three most common backtesting mistakes that make a strategy look profitable when it isn't.

TradeThesis Research·14 February 2026·5 min read

Why Backtests Lie More Often Than They Fail

A backtest rarely fails loudly — it fails quietly, by producing a smooth equity curve built on a subtle technical error. The strategy looks profitable in testing and then underperforms or loses money live, not because markets changed, but because the backtest was measuring something that could never have happened in real trading. These are the mistakes responsible for most of that gap.

1. Lookahead Bias

Lookahead bias occurs when a backtest uses information that wouldn't have been available at the time a trade decision was actually made. Common forms:

  • Using a day's closing price to decide a trade that "executes" earlier that same day
  • Calculating an indicator using a data window that includes future bars
  • Screening a stock universe using fundamentals that were restated or revised after the fact
  • Testing on a list of stocks selected because they're well-known winners today, not because they met the criteria at the time

The fix is strict point-in-time data discipline: every input the strategy uses at time T must be exactly what would have been knowable at time T, nothing after it.

2. Curve-Fitting (Overfitting)

Curve-fitting happens when a strategy has enough adjustable parameters that it can be tuned to perform well on a specific historical dataset, regardless of whether the underlying logic has any real predictive value. A strategy with 8 tunable inputs tested on 3 years of daily data has enormous freedom to "discover" a combination that happened to work on that exact data, purely by chance.

Warning signs of an overfit strategy:

  • Performance that degrades sharply the moment any parameter is nudged slightly
  • A large number of parameters relative to the number of trades in the test
  • A backtest that was iteratively re-tuned after each disappointing result until the numbers looked good

The core defense is out-of-sample testing — see Walk-Forward Analysis Explained for the standard method — combined with keeping the number of free parameters low relative to the size of the dataset.

3. Survivorship Bias

Testing a strategy against "the S&P 500" or "the top 50 crypto assets" using today's constituent list silently excludes every company or token that was delisted, went bankrupt, or got removed from the index during the test period. Since those are disproportionately the worst performers, their absence inflates the strategy's apparent returns. The fix requires point-in-time universe data that includes de-listed and failed instruments.

4. Ignoring Trading Costs and Slippage

A backtest that assumes every trade fills exactly at the signal price, with no commission and no market impact, is testing a version of the strategy that can't exist. This matters most for high-frequency or high-turnover strategies, where costs compound across hundreds of trades, and for less liquid instruments, where the assumed fill price may not have been achievable in real size.

5. Testing on Too Few Trades

A backtest with 15-20 trades can produce an impressive-looking win rate and profit factor purely from random variance. Statistical confidence in a strategy's edge requires a meaningfully larger sample — see How Many Trades Do You Need for a Statistically Valid Backtest? for the specific thresholds.

6. Data Snooping Across Multiple Strategies

Testing dozens of strategy variations against the same historical dataset and reporting only the best-performing one is a form of curve-fitting applied at the strategy-selection level rather than the parameter level. If 50 strategies are tested on the same data, a handful will look great purely by chance — this is a direct consequence of running enough trials on a fixed dataset, not evidence any of them has a real edge.

Quick Reference: Mistake vs Fix

Mistake What It Does Fix
Lookahead bias Uses future information Strict point-in-time data
Curve-fitting Tunes to noise, not signal Out-of-sample / walk-forward testing
Survivorship bias Excludes failed instruments Point-in-time universe
Ignoring costs Overstates net returns Model slippage and commissions
Too few trades Confuses luck with edge Larger sample size, longer test period
Data snooping Reports only the winning variant Pre-register the strategy before testing

Summary

Most backtests that fail to hold up in live trading fail for one of a handful of well-known, avoidable reasons: lookahead bias, curve-fitting, survivorship bias, unrealistic cost assumptions, an undersized trade sample, or reporting only the best of many tested variants. None of these require sophisticated statistics to catch — they require discipline in how the test is built and honesty about how many variations were tried before landing on the reported result.


Related reading:

Building In Stealth · Launching Soon

We're Cooking Something Great.

Revealing Soon.

TradeThesis is being rebuilt from the ground up. The 5-agent AI research pipeline is coming back sharper than before.

No sign-up needed. Just watch this space.