How to Run an Honest Trading Strategy Backtest
A trading strategy backtest is only honest if it passes four checks. It has to include realistic trading costs. It has to beat the same trade taken at random times. It can't use information that wasn't available yet. And it has to correct for how many versions you tried before you found a good one. Win rate on its own tells you almost nothing. Below we explain how each check works in plain words, and why most backtests you see online skip at least one of them.
This is the method we use at Synergy Trading. Our private research lab runs every idea through the same rules. About 290 strategy ideas have been tested that way so far, and only 2 are clean survivors. We aren't saying that to boast. It shows how easy it is to fool yourself with a backtest.
Why win rate lies
Win rate is the share of trades that make money. Most videos open with it because it feels like the whole story. It isn't.
Take a rule that wins 90% of the time. Each winner makes $1 and each loser costs $10. Over ten trades you make $9 and lose $10, so you're behind even though you "won" nine times out of ten. That's a made-up example, not a test result. The arithmetic is what matters.
What counts is the average return per trade after costs, and how sure you can be that the average isn't really zero. A tight profit target with a wide stop will push the win rate up almost automatically. That tells you where the exits sit. It doesn't tell you whether the entry has any edge.
Profit factor is a better quick check. It's gross profits divided by gross losses, so anything above 1 made money overall. It still can't tell you whether the result was luck.
The honest trading strategy backtest checklist
Each item below covers a different way a backtest can mislead you.
- Realistic costs. Include commissions, the bid/ask spread and slippage, which is the gap between the price you wanted and the price you actually got. A strategy that trades often can look great before costs and lose money after them.
- A random-entry control. Take the same trade with the same stop, target and holding time, but enter at random times, and repeat that many times. This shows what luck and market drift alone produce.
- A look-ahead check. Every decision should use only data that existed at that moment. Using a day's close to decide a trade at that day's open is a classic leak.
- A correction for testing many variants. If you tried 50 settings and kept the best one, its result is inflated, so it has to clear a tougher bar.
- A survivorship check. If you test on today's list of stocks, you've quietly dropped every company that went bust or got removed from the index.
The random-entry control, explained
Most retail traders have never heard of this check, and it's often the one that tells you the most.
Say a rule on SPY buys on some signal, holds for five days and shows a positive average. Is that good? Maybe not. US stocks have tended to rise over long stretches, so a long-only rule that holds for five days can look profitable just because it's in the market. The random-entry control asks a simple question: if I'd taken that exact trade on random days instead, how often would I have done this well?
If random entries do about as well, the signal is decoration. If your rule beats nearly all the random runs, it's worth a closer look.
The idea isn't new. In a 2008 paper, Gilles Daniel, Didier Sornette and Peter Wohrmann proposed a general method that compares a strategy with random strategies that follow similar constraints (arXiv: Look-Ahead Benchmark Bias in Portfolio Performance Evaluation).
Hidden biases that inflate results
Look-ahead bias. The same paper shows how much a quiet leak can matter. Many databases don't track how an index's membership changed over time, so tests end up using the stocks that were in the index at the end of the period. Working with CRSP data from 1926 to 2006, the authors report that this bias can reach up to 8% a year when the S&P 500 is the benchmark. It also inflates Sharpe ratios and understates drawdowns (Daniel, Sornette and Wohrmann).
Two quick definitions. The Sharpe ratio is return per unit of risk, so a higher number means a smoother ride for the same gain. Maximum drawdown is the biggest drop from a peak to a low.
Data mining bias. This is the big one. Campbell Harvey, Yan Liu and Heqing Zhu looked at the factors researchers have published to explain stock returns. Because so many have been tried, they argued, a new one should clear a t-statistic of about 3.0 instead of the usual 2.0 (NBER Working Paper 20592). They go as far as saying that most claimed research findings in financial economics are likely false.
So what's a t-statistic? It measures how sure we can be that the average return isn't really zero. For a single test, anything above about 2 is the usual bar. The catch is that a backtest is rarely a single test. Every tweak to a moving average length or a stop size counts as another one.
Overfitting. David Bailey, Jonathan Borwein, Marcos López de Prado and Qiji Jim Zhu note that the standard safeguard, holding back some data to test on later, often works poorly for investment backtests. They propose a way to estimate the probability that a backtest is overfit (The Probability of Backtest Overfitting, WMU ScholarWorks). You don't need their math to take the lesson: the more you tune, the less your backtest means.
How much should you discount a backtest?
A common rule of thumb among practitioners is to cut a backtested Sharpe ratio roughly in half. Harvey argues that a flat cut like that is too blunt (Man Group: Backtesting). The right discount isn't linear. Very strong results take only a moderate cut, while marginal ones get cut hard. In his worked example, a t-statistic of 3.0 comes out at roughly 2.0 once you account for the hundreds of factors already tested.
The takeaway is simple. A backtest that only just clears the bar after one test probably won't clear it after fifty. A backtest that clearly beats its random control, after costs, has a better chance of being real.
What this test can't tell you
This article is a method guide. It doesn't report a lab test of any particular strategy and gives no numbers from one. Still, the same limits apply to every backtest, ours included.
Data period. A rule tested over one stretch of history only tells you about that stretch, and markets change.
Markets covered. A result on SPY doesn't automatically carry over to ES, NQ, gold or individual stocks.
Costs assumed. If your real fills are worse than the cost model, the edge shrinks or disappears.
Forward results. A clean backtest gives you a reason to watch a strategy in real time. It isn't proof. Forward results on data the rule has never seen are the real test, and they take time to build up.
Frequently asked questions
Is a high win rate a sign of a good trading strategy?
No. A high win rate on its own says little about whether a strategy makes money. A rule that wins 90% of the time still loses overall if each loss is ten times bigger than each win. The average return per trade after costs matters far more than how often you win.
What is a random-entry control in backtesting?
A random-entry control takes the same trade as your strategy, with the same stop, target and holding time, but enters at random times. Repeating that many times shows what luck and general market drift produce on their own. If your rule can't clearly beat its random twin, the entry signal isn't adding anything.
What t-statistic should a backtest have?
For a single test, a t-statistic above about 2 is the usual bar. It means you can be fairly sure the average return isn't zero. When many variants have been tried, the bar should be higher. Harvey, Liu and Zhu argued that a new stock return factor should clear about 3.0.
What is look-ahead bias in a backtest?
Look-ahead bias happens when a backtest uses information that wasn't available when the trade was made. Two common examples are using a day's close to decide a trade at that day's open, and using today's index members for past years. Either one makes results look better than anything you could have actually traded.
Want a strategy you've seen online put through these same checks? Email hello@synergytrading.net with the subject "Verdict request". It's a waitlist, so there's no price and no promised date, and nothing is being sold yet. Synergy Trading is not a registered broker-dealer or investment adviser, and nothing here is a recommendation to buy or sell.
Educational research only, not investment advice. Past results do not guarantee future results.
Sources
- Daniel, Sornette and Wohrmann, Look-Ahead Benchmark Bias in Portfolio Performance Evaluation (arXiv, 2008)
- Harvey, Liu and Zhu, ...and the Cross-Section of Expected Returns (NBER Working Paper 20592)
- Bailey, Borwein, López de Prado and Zhu, The Probability of Backtest Overfitting (WMU ScholarWorks)
- Campbell R. Harvey, Backtesting (Man Group, 2015)
Want your strategy tested?
We run the same test on any rule set: realistic costs, a random-entry control and a look-ahead check. Email us the rules to join the waitlist. Nothing is for sale yet.
Request a verdict

