How many trades make a fair test?
No single number makes a test fair. What matters is the margin of doubt around the measured win rate, and it shrinks slowly.
- Level 11 Your Trading Plan
- Leçon 16 sur 25
- 5 min de lecture
- 2 questions
There is no magic number of trades. A measured win rate carries a margin of doubt that depends on how many trades it rests on, and a test is fair when that margin is small next to the edge being claimed. Twenty trades leave a margin of about 21 points either side. Four hundred leave about 5. Level 4 promised this sum.
The margin
For a method whose true win rate is p, measured over n independent trades:
margin = 1.96 × √(p × (1 − p) ÷ n)
About 19 samples in 20 land within that distance of the true rate. Read the other way round, a measured rate could be that far from the truth.
| Trades | Margin at a 35% win rate | Margin at 50% |
|---|---|---|
| 20 | ±20.9 points | ±21.9 points |
| 100 | ±9.3 points | ±9.8 points |
| 400 | ±4.7 points | ±4.9 points |
Four times the trades halve the margin. A measured 55% over 20 trades is consistent with a true rate anywhere from the low thirties to the high seventies.
The example system
Over 423 trades the example system won 35.2% of the time. Its margin is 4.6 points, so the true rate could be anywhere from 30.7% to 39.8%. At 2:1 the break-even rate is 33.3% before costs and 35.4% after costs of 0.063R a trade. Both lines lie inside the range. Six years and 423 trades cannot say whether this system makes or loses money. Here the true answer is known, because the prices were made with no edge in them.
How many for a given edge
To show that a win rate beats break-even by a stated amount, the margin has to be smaller than that amount. At a win rate near 35%:
| Edge to detect | Trades needed |
|---|---|
| 10 points | 88 |
| 5 points | 350 |
| 2 points | 2,185 |
Small edges need thousands of trades. At the example’s pace of about 70 trades a year, 350 trades take five years.
What this means in practice
- Treat any result under 100 trades as a first impression.
- Prefer several hundred trades across different market conditions.
- Be wary of both a short winning record and a short losing one.
- Trades are not fully independent in real markets: losses cluster. Real margins are wider than the formula’s.
Tools use rules of thumb. PipCircle’s Strategy Builder marks a result with fewer than 30 trades as too few to judge. Thirty is a floor for looking at a result at all, with a margin of about 17 points.
Key points
- The margin around a measured win rate is 1.96 × √(p × (1 − p) ÷ n).
- At a 35% win rate it is ±20.9 points after 20 trades, ±9.3 after 100 and ±4.7 after 400.
- The example system’s 35.2% over 423 trades has a margin of 4.6 points, which spans its break-even rate.
- Detecting a 5 point edge takes about 350 trades. A 2 point edge takes more than 2,000.
Vérification rapide
Ces questions ne comptent pas dans votre score de quiz.
Common mistakes
- Fixing on a number such as 30 or 100. The number needed depends on how small an edge is being claimed.
- Counting days or months instead of trades. A year with eight trades is a sample of eight.
- Treating a short losing record as proof of failure. Small samples mislead in both directions.
- Assuming trades are independent. Losses cluster in real markets, so real margins are wider than the formula says.
Another example
A method that risks 1 to make 1 shows a 60% win rate. Its break-even rate is 50%. Over 30 trades the margin is 1.96 × √(0.6 × 0.4 ÷ 30) = 17.5 points, so the true rate could lie anywhere from 42.5% to 77.5%, and 50% is inside that range. Over 300 trades the margin is 5.5 points and the range is 54.5% to 65.5%, which clears 50%. The same win rate is noise after 30 trades and evidence after 300.
Questions people ask
How many trades do I need to back-test a strategy?
Several hundred is a sound aim, and more for a small edge. After 100 trades a win rate still carries a margin of nearly 10 points either side. After 400 it is about 5. The right number is the one that makes the margin smaller than the edge you believe you have.
Is 100 trades enough to test a strategy?
It is enough to rule out a very bad method and not enough to confirm a modest one. At 100 trades a measured win rate could be about 10 points away from the true rate. An apparent edge of 5 points over break-even is well inside that margin.
What is a statistically significant sample in trading?
It is a sample large enough that the result would be unlikely if the method had no edge. In practice that means the margin around the win rate, or around the expectancy, does not reach the break-even figure. For small edges this takes hundreds or thousands of trades.
What is the law of large numbers in trading?
It is the principle that an average measured over many trades settles towards the true average, while over few trades it can be far from it. A method’s real win rate and expectancy show themselves only in a long record. It is the reason this course keeps asking for more trades.
Les leçons sont gratuites sans compte. Connectez-vous et PipCircle retient où vous vous êtes arrêté, garde vos scores et vous attribue vos badges. Se connecter gratuitement
Trading foreign exchange and CFDs carries a high risk of losing money. PipCircle Learn is education and is not investment advice.