Matana Labs

How to statistically validate a trading strategy

Validate a strategy in five steps: write the rules down before testing, check that the average trade is significantly above zero, correct that result for how many variants you tried, confirm it on data the search never touched, and look at the spread of outcomes with Monte Carlo. Each step removes a different way of fooling yourself. Skipping the correction for many tries is the most common mistake.

The five steps

  1. Fix the hypothesis. Write the entry, exit, stop and size rules before you look at results. Every change after that is another try.
  2. Significance. Compute the t-statistic of the average trade, or of daily returns for strategies that hold overnight. Two is a common minimum for a single, pre-planned test.
  3. Correct for the number of tries. If you tested many settings or ideas, the best of them looks good by chance. The deflated Sharpe ratio adjusts the Sharpe ratio for how many variants were tried.
  4. Unseen data. Judge the chosen version on a held-back slice of history, or walk forward: tune on one window, test on the next, repeat.
  5. Distribution, not a point. Monte Carlo reshuffles or resamples your days and trades to show the range of drawdowns and results the same edge could have produced.

Worked example: the best of 50 strategies with no edge

We simulated 50 strategy variants with no edge at all, each on two years of daily returns, picked the one with the highest Sharpe ratio, and repeated that 1,000 times.

So a Sharpe ratio of one, or even one and a half, after trying 50 settings is what chance alone tends to hand you. Real data says the same: in our walk-forward study of 24,072 folds, the best parameter set of a daily-signal family fell from a median Sharpe of 0.59 in sample to 0.05 out of sample.

What to do next

Updated 2026-11-24. Educational content, not financial advice. Backtests and simulations are not real trading, and past results don’t guarantee future ones. Risk disclaimer.

Related questions and tools

Test your own strategy in Matana Labs, from free All answers

Questions

What is the deflated Sharpe ratio in simple terms?

A Sharpe ratio adjusted for the number of strategies you tried before picking this one. The more variants you tested, the higher the Sharpe ratio has to be before it counts as evidence of an edge.

Should I validate on trades or on daily returns?

On trades for strategies whose trades are independent and close the same day; on daily returns when positions overlap or stay open overnight, because then trades share the same market moves and aren’t independent.

Does passing validation mean the strategy will keep working?

No. Validation lowers the chance that the result is luck or tuning. Markets can still change, so a validated strategy should be traded small at first and watched.