Skip to content
Black FridayPropbook One from $12.49/month on the annual plan · −25% · code BLACKFRIDAY25Get the offer
Propbook
—
EN
Open app

Backtesting without fooling yourself

A backtest is easy to make beautiful and hard to make honest. The research on why most backtests fail live is clear, and the defences are simple.

Last checked November 18, 2026. Written by Propbook from the sources listed at the bottom of the page.

Key numbers

45
Strategy variants that can be tried on 5 years of daily data before a backtest Sharpe of 1 is expected from luck alone. Bailey, 2014
t > 3.0
Threshold proposed for a new trading factor to count as real, instead of the usual 2.0, after 316 published factors. Harvey, 2016
7,846
Technical trading rules tested on 100 years of the Dow: the best one's edge did not hold in later data. Sullivan, 1999
In-sampleOut-of-sampleForwardbuild and tune the rulestest once, no changessimulated accountTime →
Build on the first part of the data, test once on the part you never touched, then forward test.

Why great backtests fail live

David Bailey, Jonathan Borwein, Marcos López de Prado and Qiji Zhu showed that if you try enough variants of a strategy, one of them will look excellent by chance. With 5 years of daily data, trying more than about 45 independent configurations makes a backtest Sharpe ratio of 1 likely even when the true edge is zero 1.

Every setting you tweak, every filter you add after seeing the results, counts as a try. The more you search, the less your best result means.

Data snooping: the same problem at scale

Halbert White built a 'reality check' to test whether the best of many strategies beats chance once you account for all the ones tried 4. Applied to 7,846 technical trading rules on 100 years of the Dow Jones, the best rule looked significant in the sample but its edge did not carry into the later period 3.

Campbell Harvey, Yan Liu and Heqing Zhu counted 316 published return factors and argued that a new one needs a t-statistic above 3.0, not 2.0, to be taken seriously 2.

Look-ahead bias and costs

Look-ahead bias means using information the trade could not have known: the day's high before it formed, a close to enter at the open, an indicator that repaints. In manual backtesting, move the chart bar by bar and decide before the next bar appears.

Then add every cost: commissions, exchange fees and slippage of at least one tick per side on futures. A scalping system with 2 ticks of average profit often disappears with them.

In-sample, out-of-sample, forward test

Split your data: build on the first part, test once on the second, untouched part. If the results collapse, the edge was the fitting. Walk-forward testing repeats this on rolling windows.

Then forward test on a simulated account for a few weeks, logging every trade as if it were real. Only then risk money or an evaluation fee.

How many trades are enough?

There is no magic number, but fewer than 100 trades rarely tell you much about the real win rate and average R. Count the variants you tried, prefer simple rules with few settings, and distrust any result that depends on one exact parameter.

How good can luck look?

Best Sharpe ratio expected from luck alone—

Expected best of N strategies that have no edge at all (Bailey and López de Prado's approximation). A backtest has to beat this to mean anything.

What to do this week

  • Write the rules down completely before you test, and count every change as a new try.
  • Backtest bar by bar, without looking at the next bar.
  • Include commissions, fees and at least one tick of slippage per side.
  • Keep the last third of your data untouched for a single out-of-sample test.

Check yourself

Three questions on this course.

1. Trying many variants of a strategy makes a great backtest…
2. Look-ahead bias means…
3. Out-of-sample data should be…

Practise it in Propbook

Questions

What is overfitting in trading?

Tuning a strategy so closely to past data that it captures noise instead of a real edge. Trying many variants makes it almost certain 1.

How many trades do I need in a backtest?

As a rule of thumb, at least 100 trades per setup before trusting the win rate and average R, and more if you tried many variants.

What is look-ahead bias?

Using data a real trade could not have known at the time, such as the day's high before it happened or an indicator that repaints.

Is manual backtesting worth it?

Yes, if done bar by bar with costs and honest records. It trains your eye and tests the rules at the same time. Forward testing on a simulated account is the next step.

Sources

  1. Bailey, D. H., Borwein, J. M., López de Prado, M. & Zhu, Q. J. (2014). Pseudo-Mathematics and Financial Charlatanism: The Effects of Backtest Overfitting on Out-of-Sample Performance. Notices of the American Mathematical Society 61(5) doi.org
  2. Harvey, C. R., Liu, Y. & Zhu, H. (2016). … and the Cross-Section of Expected Returns. The Review of Financial Studies 29(1) doi.org
  3. Sullivan, R., Timmermann, A. & White, H. (1999). Data-Snooping, Technical Trading Rule Performance, and the Bootstrap. The Journal of Finance 54(5) doi.org
  4. White, H. (2000). A Reality Check for Data Snooping. Econometrica 68(5) doi.org

Keep going

Education only, not financial, investment or tax advice. Trading futures and CFDs carries a high risk of loss. Propbook is independent and not affiliated with the authors, channels, exchanges or firms cited.

Deals & markets, once a week

New codes, rule changes and what to watch next week. One short email, no spam, unsubscribe anytime.

By subscribing you agree to receive this email. Privacy

Black Fridayuntil December 1

−25%

Upgrade your trading workspace.

Guard. PropSync. Journal. Pip AI.

AnnualCheapest

$12.49/month

$149.93 for the first year instead of $199.90

Monthly$14.99/month · first month, then $19.99
Your codeBLACKFRIDAY25
Get the annual plan at $12.49/month

Offer ends in

00d
00h
00min
00s

Paste the code on the Whop payment page · Secure payment through Whop · cancel anytime