Skip to content
Wildflower
Join free
Backtesting by hand

Free Trading School · Level 4 · Course 4.1

How many trades is enough

Lesson 14 of 21 in Backtesting by handModule 4: How many trades, and what they cost

Testing and making it your own · Backtesting by hand

How many trades is enough

Wildflower Trading School · Lesson 4.1.4.1

Wildflower

Every tester eventually asks how many trades they need. In Statistics for traders, you saw that there's no magic number, and you worked out how far an average wobbles as the count grows. This lesson uses the same idea on the number most testers look at first, the win rate, and then turns it into a plan for a hand test. By the end, you'll know how to work out the wobble in a win rate, and what it looks like at 10, 30, 100 and 400 trades. You'll also know how long collecting trades by hand takes, and why the mix of market conditions matters as much as the count.

1 of 8

What you'll learn

  • Read the wobble. More trades mean a narrower range around the true win rate.
  • Work out the standard error. It shows how far a measured win rate tends to wobble.
  • Plan for more trades. Four times the trades halves the wobble, and takes four times as long.
  • Mix market moods. Include trends, chop and news days, and count each kind.

Exercise

  1. Count the trades in your log so far and work out the wobble for a 50% win rate at that count, and at four times that count.
  2. Then sort your trades by the kind of market they came from, trending, choppy or news, and write how many each kind has.

Quick check

  1. 1. What happens to the wobble in a measured win rate when you test four times as many trades?

  2. 2. A 10-trade test shows a 70% win rate. What can you say?

  3. 3. All 100 of your trades come from one calm, trending month. Why is that a problem?

0 of 3 answered.

Finished this lesson?

Tick it off and keep your place

Make a free account and we'll remember where you are, so “Commission: the fee on every trade” is waiting next time.

Read the full notes

No trade count makes a test trustworthy on its own; as the count grows, the wobble in a measured win rate shrinks with the square root of the number of trades, and trades should span different market conditions.

  • No number of trades is a line where a test becomes trustworthy. As the count grows, the you measure wobbles less around the true figure. More trades mean a narrower range; fewer mean a wider one ().
  • The typical wobble, called the : √(p × (1 − p) ÷ n). Made-up numbers, p = 0.5, n = 100: 0.25 ÷ 100 = 0.0025, √0.0025 = 0.05, so 5 percentage points. Two wobbles either side gives 40% to 60%, where the measured figure lands in roughly 95 tests out of 100.
  • At a true 50%: 10 trades, about 18% to 82%; 30 trades, about 32% to 68%; 100 trades, 40% to 60%; 400 trades, 45% to 55%.
  • The wobble shrinks with the square root of the count: four times the trades halves it, as in Sample size: how many trades is enough. By hand, that's four times the work. Made-up numbers: rules trading on 3 sessions in 5, at 8 minutes a session, need about 167 sessions (about 22 hours) for 100 trades, and about 667 sessions (about 89 hours) for 400.
  • The sum assumes every trade is a fresh sample. Trades all from one kind of market aren't, so spread them across trends, chop and news days () and count each kind. More: Backtest sample size

Worked example

Made-up numbers

The wobble at 100 trades

Made-up numbers: a true of 50% (p = 0.5), 100 trades.

  1. p × (1 − p) = 0.5 × 0.5 = 0.25
  2. 0.25 ÷ 100 = 0.0025
  3. √0.0025 = 0.05 = 5 percentage points
  4. Two wobbles either side: 40% to 60%

With 400 trades the wobble halves to 2.5 points (45% to 55%). Four times the trades, half the wobble.

Your turn

Drill

Made-up numbers · true win rate 50% (0.5) · 25 trades

Trading is risky. You can lose money. This lesson explains how testing works. It isn't advice, and a test can't tell you what will happen next.