Backtesting

How Many Trades Do You Need to Test a Strategy?

Quick Answer

There is no magic number, but 30 trades says very little and 100 is still noisy. A win rate measured over 100 trades carries a 95% margin of error of roughly plus or minus 10 percentage points, and detecting a small average edge in R-multiples can take several hundred trades. The more modest your edge, the bigger the sample needed to see it.

You ran a strategy for 20 trades and won 14. Is that a 70% strategy? The honest answer is "maybe", and the maths of sampling explains why. Understanding it keeps you from trusting a lucky start or discarding a good strategy after a bad one.

Why small samples lie

Each trade outcome has randomness. The fewer trades you have, the more your measured win rate and average win can differ from the strategy's true values just by chance. Two traders with identical strategies can have very different first 30 trades.

The margin of error on win rate

A common approximation for the 95% margin of error on a measured win rate is 1.96 × √(p × (1 − p) ÷ n). It is a normal approximation, so it is rougher for very small n or extreme p. Using a win rate near 50%:

Trades (n)Approx. margin of errorWhat 50% measured could really be
30±18 pointsroughly 32% to 68%
100±10 pointsroughly 40% to 60%
400±5 pointsroughly 45% to 55%

You need four times as many trades to halve the margin. The how many trades to validate a strategy tool lets you try your own numbers.

The margin on expectancy matters more

Win rate alone is not edge. What you want to know is average R per trade (expectancy). Its standard error is the standard deviation of your trade results divided by √n. Hypothetical: if your trade results in R have a standard deviation of about 1.5R (plausible when winners are larger than losers) then:

TradesStd. error95% range around the measured average
1000.15R±0.29R
4000.075R±0.15R

So after 100 trades a measured +0.20R average is statistically indistinguishable from zero, because the range runs from about −0.09R to +0.49R. To get the range down to ±0.1R you would need roughly (1.96 × 1.5 ÷ 0.1)2 ≈ 865 trades. Your own standard deviation will differ; calculate it from your log.

Calculate Your Own Spread

The TradLog reports your average R and results by setup, so you can see how many trades you have per strategy.

Start Logging Free →

Practical rules of thumb

How to get the sample faster

A backtest can produce hundreds of trades in an afternoon, but with hindsight risk. Paper trading is slower but forward-looking. Many traders do both: backtest to find a candidate, then paper trade to confirm. See forward testing vs backtesting. Once you have a sample, check expectancy and the profit factor, then size for survival with risk of ruin.

FAQ

How many trades is enough to test a strategy?

There is no fixed number. Under 30 trades is anecdotal, around 100 gives a rough picture, and finding a small edge reliably can take several hundred. The smaller the edge compared with the variability of results, the more trades you need.

Is 50 trades enough for a backtest?

It is a starting point at best. At 50 trades the 95% margin of error on a measured win rate near 50% is about ±14 points, so conclusions should be tentative.

Does a larger sample guarantee the strategy will work live?

No. A large sample reduces random error but cannot remove overfitting, changing market conditions or execution differences between the test and live trading.

How many paper trades before going live?

A common guideline is 50 to 100 trades of the same setup, with positive expectancy after costs and high rule adherence, then starting live at minimum size.

Put This Into Practice

  1. Define one setup and log every trade of it
  2. Calculate your standard deviation of R after 30 trades
  3. Do not judge the edge until you have 100+ trades

Start Free in TRADZY →

Educational content, not financial advice. Trading involves substantial risk of loss. Examples labelled hypothetical are invented for illustration.