Smart QA AcademyGuidesFree lessonsFree quizzes

Guides · Trading education · Published 2026-11-27

How Many Trades Do You Need to Test a Trading Strategy?

Disclaimer. Educational content only, not legal or regulatory advice. Always check the current official text of the regulation or standard and consult a qualified professional for your specific case. Training only, not trading or investment advice. Demo account, past results are no guide. Consult your licensed broker. Trading can lose all of your investment.

Ten trades, eight winners. It is tempting to call that a working strategy. It is not. With ten trades, a coin toss produces eight or more "wins" about 5% of the time, so a lucky streak looks exactly like an edge. The honest question is: how many trades do you need before a test result means something? This guide gives a practical answer using two simple formulas, then shows two demo examples from the past: one strategy that held up as the sample grew, and one that faded. Nothing here is a signal or a recommendation; all figures are made up for teaching.

Test yourself: free 5-question quiz on this topic — no sign-up

Free during beta. No account, no e-mail, no payment.

The short answer

There is no single magic number, because the sample you need depends on how big your edge is compared with how much your results swing. As a rough guide:

The rest of this guide shows where those numbers come from, so you can work out your own.

Why small samples lie

Every trade result is a mix of edge and noise. With few trades, the noise dominates. The two numbers most traders look at, win rate and average result per trade, both have a margin of error that shrinks only with the square root of the number of trades. To halve the uncertainty you need four times as many trades.

Formula 1: how precise is your win rate?

The standard error of a win rate is:

SE = square root of ( p x (1 - p) / n )

where p is the win rate and n is the number of trades. A rough 95% range is the measured win rate plus or minus 1.96 x SE. For a strategy that wins about half the time:

Trades (n)95% range of the win rate
30about 50% plus or minus 18 points (32% to 68%)
100about 50% plus or minus 10 points (40% to 60%)
400about 50% plus or minus 5 points (45% to 55%)

After 30 trades, a "50% win rate" could really be anything from about one in three to two in three. That range covers both clearly losing and clearly winning strategies, depending on your reward-to-risk.

Formula 2: is your expectancy really above zero?

Win rate alone does not tell you whether a strategy makes money. What matters is expectancy, the average result per trade, best measured in R-multiples (1R = the amount you planned to risk). Its standard error is:

SE = standard deviation of R results / square root of n

To be reasonably confident the true average is above zero, you want the average to be at least about two standard errors above zero. Rearranged, the number of trades you need is roughly:

n = ( 2 x standard deviation / average R )²

Take a demo strategy with a 45% win rate, winners of +2R and losers of -1R. Its average is 0.45 x 2 - 0.55 x 1 = +0.35R per trade, and the standard deviation of its results is about 1.5R. Then n = (2 x 1.5 / 0.35)² = about 73 trades. If the edge were only +0.15R with the same swings, you would need about (2 x 1.5 / 0.15)² = 400 trades. Smaller edges need far bigger samples.

Here is how the 95% range of the +0.35R strategy narrows as trades accumulate:

Trades95% range of average R
30-0.18R to +0.88R
100+0.06R to +0.64R
300+0.18R to +0.52R

At 30 trades the range still includes losing money. Only around 100 trades does the whole range sit above zero.

Worked demo example: one that held up, one that faded

Two strategies were tested on past data and then on a demo account. Both are invented for teaching.

Strategy A (held up). After the first 30 demo trades the average was +0.41R. The trader did not change any rules and kept going. At 100 trades the average was +0.33R and at 250 trades +0.31R. The figure came down a little, as early results often do, but it settled and its 95% range stayed above zero. That is what a real, modest edge tends to look like.

Strategy B (faded). After the first 30 trades the average was +0.62R, which looked better than A. The trader had tried eight variations of the entry rule on the same past data and kept the best one. At 100 trades the average had dropped to +0.08R, and at 200 trades it was -0.05R. The early result was mostly luck plus selection: choosing the best of eight variations on the same data almost always looks better than the rules really are.

The lesson is not that B was a bad idea. The lesson is that 30 trades could not tell A and B apart.

What counts as a good sample

The number of trades is only part of it. A sample is only useful if:

Practical rules of thumb

  1. Fix the test length in advance, for example 100 demo trades, and do not judge before then.
  2. Record every trade in R, including mistakes, and recalculate the average and its 95% range every 25 trades.
  3. Treat a range that still includes zero as "not proven yet".
  4. Check maximum drawdown too; an edge with a drawdown you cannot sit through is not usable.

Frequently asked questions

Is 30 trades enough to test a trading strategy?

Usually not. Thirty trades can show whether you can follow your rules, but the margin of error on both win rate and expectancy is still very wide. For a typical edge, 100 trades is a sensible minimum, and small edges need several hundred.

How do I calculate how many trades I need?

Use n = (2 x standard deviation of R / average R)². Estimate both numbers from a first batch of demo trades, then recalculate as you go. The smaller your average R compared with its swings, the more trades you need.

Does backtesting more years of data always help?

More trades help only if the market conditions are still relevant and the trades are independent. Very old data may describe a different market. Spread the sample across varied conditions and keep some data aside that you never optimise on.

Why did my strategy look great at first and then get worse?

Often it is regression to the mean: early results include luck, and luck does not repeat. It is worse when you picked the best of many variations on the same data. A strategy with a real edge usually settles near a lower but stable average.

Should I count demo trades and backtest trades together?

Keep them separate. Backtest trades show what the rules would have done; demo trades also test your execution and discipline. If both samples point the same way, you can have more confidence.

Practise it in the Academy

The trading expert lessons cover strategy testing, drawdown control and a complete demo-account strategy review, and the practitioner journalling lesson shows how to record every trade in R so you can run these checks yourself.

Related Academy lessons

Test yourself: free 5-question quiz on this topic — no sign-up

Open the full lesson · All free quizzes

Full lessons, explained quizzes and audit simulations. Free during beta, no sign-up needed.

More guides

Disclaimer. Educational content only, not legal or regulatory advice. Always check the current official text of the regulation or standard and consult a qualified professional for your specific case. Training only, not trading or investment advice. Demo account, past results are no guide. Consult your licensed broker. Trading can lose all of your investment.