Risk & Capital10 min read
How Many Trades Should You Backtest? A Practical Guide to the 100-Trade Rule
A hundred trades can reveal a fragile backtest. Learn to read win-rate uncertainty, account for fees and check whether one market move paid for the whole sample.
BTL
Backtest Trading Lab TeamQuantitative Backtesting & Market Structure Team • Updated
Executive Summary & Key Takeaways
- A hundred qualifying trades gives you a first review point. Write down the dates and count distinct sessions alongside the trades.
- At 60 wins in 100 independent trades, a 95% Wilson interval runs from roughly 50% to 69%.
- Record actual net R for every trade and reserve fresh dates for any rule you change.
What can 100 backtested trades actually tell you?
Imagine finishing a Sunday replay session with fourteen winners out of twenty trades. The setup is a London sweep on EUR/USD. You have screenshots of the entries, you used the same target throughout, and the journal says 70%. On Monday you notice something in the dates column. Nearly every screenshot came from the same fortnight, while the euro was climbing. What did you learn? Quite a bit about buying a pullback during that fortnight. Much less about taking the next signal when London opens inside yesterday's range.
How many trades should you backtest? A hundred consecutive qualifying trades makes a useful first review for a strategy with fixed rules. By then you can inspect enough entries to spot repeated execution problems, put a range around your estimated win rate, and see which trades paid for the losses. Twenty trades can already tell you that a rule is ambiguous or that the spread consumes half your target. Neither number settles the question of whether a strategy has an edge.
Start by writing the question at the top of your sheet. “How often does my first London retest reach two units of risk before the stop, after costs?” gives you a way to finish. “Does my strategy work?” invites another change of timeframe whenever the answer looks uncomfortable.
Decide what counts as one trade
Picture a long position closed in three pieces. Your platform may export three profitable exits. In the journal they belong to one decision. Give the entry a trade ID, attach all three fills to it and calculate one result using the size closed at each price. Selling half at 1R and half at 3R produces a gross gain of 2R on the original position. Counting the exits separately would give that one idea two votes in your win rate.
A re-entry takes more thought. Suppose price stops you out, sweeps the same low again and offers another retest ten minutes later. Would your written rules have allowed you to take both signals in real time? If so, keep both and tag them with the same session or setup ID. If the plan allows one attempt per session, the second entry belongs in your notes. Decide this before seeing whether the second attempt recovered the loss.
Also decide how to handle a scratch. One workable convention is to keep every closed trade in the denominator and count only positive net results as wins. Show scratches in a separate column. A trade scratched at the entry price can still cost money once commissions are included. Recording gross and net results side by side makes it possible to reconstruct exactly how a flat exit became a small loss.
How precise is a backtest win rate?
Suppose three journals all show 60% winners. The first contains 12 wins in 20 trades. The second contains 60 in 100. The third contains 240 in 400. If the signals were independent and the probability of winning stayed roughly constant, the table gives approximate 95% Wilson confidence intervals. The extra trades improve the estimate even though the headline percentage never moves.
Read the middle row as a measure of sampling uncertainty. A hundred trades with sixty winners are compatible with a win probability close to one half as well as one closer to seven tenths. This matters if your average win barely covers your average loss. A difference of a few percentage points could change the sign of the result after costs. The interval says nothing about how large the next winner might be.
There is a practical reason to compare the last two rows. Around a fixed win rate, sampling error typically falls in proportion to one divided by the square root of the trade count. Roughly four times as many independent observations buys about half the uncertainty. Adding another hundred highly similar entries during the same rally can give a much smaller gain in knowledge. These figures use the Wilson score method described in the NIST/SEMATECH statistical handbook.
| Trades | Wins | Observed win rate | 95% Wilson interval |
|---|---|---|---|
| 20 | 12 | 60% | 39% to 78% |
| 100 | 60 | 60% | 50% to 69% |
| 400 | 240 | 60% | 55% to 65% |
How much historical data should you replay?
Put the first and last dates next to the trade count. A five-minute breakout strategy might produce a hundred entries before a weekly swing setup produces six. The swing trader who shortens the chart timeframe to reach a hundred by Friday has quietly changed the question. A smaller sample with an honest date range is worth keeping. It tells you how slowly evidence arrives for the trade you actually intend to take.
Choose the date range before you inspect the charts. Include periods that match the hours, instruments and execution conditions in your plan. If you only trade the London morning, adding the New York afternoon changes what the average describes. Instead, extend the calendar backwards through more London mornings. Record weeks without a qualifying entry. They matter when estimating how long you may wait between opportunities, even though they contribute no rows to the win-rate calculation.
Coverage also depends on the source. Check a few timestamps around daylight-saving changes if a setup keys off the London open. Check whether a gold chart represents spot prices or a perpetual contract, and whether the spread assumption belongs to that instrument. If the feed contains a hole through your entry window, mark the session unavailable. Filling it with candles from another venue may introduce precisely the high or low that triggers a sweep.
A replay routine you can repeat next month
Write the entry on a single index card. For a sample exercise, mark the previous day's low before London opens. Wait for price to trade below it and for a fifteen-minute candle to close back above it. Take the next bar's open as the hypothetical entry, use the sweep low as the stop and set the target at twice the initial risk distance. Specify the session end, the time exit and how many attempts are allowed. This example supplies a testable rule. Its profitability is an open question.
Hide future candles, advance the replay one bar at a time and mark the decision before revealing the outcome. Save the timestamp and entry price at that point. A screenshot with the next hour hidden is especially helpful for discretionary entries. When you return to a losing trade, it shows whether the signal was visible at the time. A beautifully labelled chart captured after the close can make a late entry look obvious.
Handle ambiguous fills consistently. A fifteen-minute candle can touch the target and the stop without revealing which came first. Use finer data if it is available from the same feed. Otherwise mark the trade ambiguous and show how your total changes under stop-first and target-first assumptions. If that choice can turn the backtest from red to green, resolving intrabar execution deserves more attention than collecting another page of screenshots.
Every twenty-five trades, check the bookkeeping. Look for duplicate timestamps, entries outside the agreed session and risk distances entered in pips on one row and price units on the next. Correct transcription mistakes and keep a note of the correction. Save interesting strategy ideas in a separate column for a later test. The hundredth trade should answer the same question as the first.
Follow the money through a 100-trade journal
Use R to put differently sized trades on the same scale. One R is the amount at risk between entry and initial stop on the original position. If that amount was $50 and the closed trade earned $75 after costs, enter +1.5R. Keep the original denominator when a stop moves to breakeven. Recalculating risk from the final stop would make two otherwise identical trades impossible to compare.
Consider an illustrative journal with forty wins averaging +1.8R gross and sixty losses averaging −1R gross. The wins contribute 72R, the losses consume 60R and the gross result is +12R. An average round-trip cost of 0.08R across a hundred trades takes away 8R. That leaves +4R across the whole test, or +0.04R per trade. A trader looking only at the 40% win rate might discard it. A trader looking only at the gross result might overestimate what it earned.
Now examine the cost assumption. A total average cost of 0.12R per trade would absorb the entire gross result. Tight stops make this detail particularly important because the same spread represents a bigger fraction of the initial risk. Use recorded bid and ask prices when available and state what you assumed about slippage. When your fills already include the spread, charging it again in a separate column understates the result.
Keep the biggest winner in the official total. Then run a sensitivity check. If one trade contributed +6R net, the other ninety-nine together lost 2R in this example. That observation gives you a precise question for the next replay period. Does the setup regularly produce a large enough move to pay for the quieter weeks?
Find the trades that share the same bet
Sort the journal by date and read it across instruments. Imagine a dollar news release that sets off entries in EUR/USD, GBP/USD and gold within four minutes. Each trade has a valid ticket. All three also depend on much of the same move in the dollar. Three wins that morning carry different information from three wins on separate mornings with unrelated catalysts. Keep the tickets and give the cluster a common event tag.
Read the results a second time by day or week. Count how many distinct sessions contributed, find the busiest session and calculate its share of net profit. Next, look at what happened during quiet stretches. Perhaps nineteen trades during narrow opening ranges repeatedly hit the time exit. That is worth investigating even if the group is too small to justify adding a range filter. Write down how you defined a narrow range using information available before entry.
The order of trades matters for drawdown as well. Trace the running net R total after each close and measure the largest fall from a previous peak. A fall from +9R to +2R is a 7R drawdown even though the test still shows a profit. Record the dates of the peak and recovery. Six losses in one afternoon and six losses spread across two months make different demands on someone trying to execute the rules consistently.
Reserve an untouched period before changing the rules
A common turning point arrives when the journal suggests an easy improvement. Remove Friday entries and the profit doubles. The temptation is to present the filtered result as a better strategy. First count how many alternatives you looked at. If you also checked Mondays, different sessions, three stop sizes and several profit targets, Friday had plenty of competition for the distinction of looking worst by chance.
Keep the original journal intact. Write a second version of the rule, date it and reserve a later period you have yet to replay. Apply the revised plan in chronological order, with the same costs and fill convention. Record the signals the filter excludes as well as the trades it accepts. You can then see whether the change avoided a repeatable problem or simply discarded a few prominent losses in the first sample.
For an infrequent setup, a short holdout might yield only a handful of entries. Report the count. If you repeatedly peek at those results and adjust the rule, that period becomes part of development. Begin the next evaluation on fresh dates. Keeping a calendar of which months informed each decision takes very little time and prevents an old chart from quietly doing double duty as fresh evidence.
What to write after trade number 100
Leave yourself a paragraph you could understand six months later. Name the instrument, feed, session, date range and rule version. Give the number of qualifying trades and the number of distinct trading days. Put net expectancy beside the largest drawdown, then name the assumption that had the biggest effect. Someone opening the journal should be able to tell whether the result depends on one unusually generous fill, one strong trend or a run of fairly ordinary trades.
There are several reasonable outcomes. If the entry rules produced disagreements even with the future hidden, tighten the definition and start a new version. If the rules were clear but the profits came from one short stretch, test another untouched stretch with different conditions. If costs wiped out the gross gain, investigate actual execution before spending another weekend collecting the same kind of signal.
A useful closing note might read, “The London retest was straightforward to identify. The result survived normal fees, but three ambiguous candles could erase the gain. For the next sample I need one-minute data around those exits.” That note tells you exactly which evidence to collect. A percentage in a green cell cannot do that on its own.
BTL
By Backtest Trading Lab TeamEditorial Desk
Quantitative Backtesting & Market Structure Research Team
Dedicated to providing data-driven educational guides for Forex and Crypto backtesting. Every strategy concept is tested on historical market replay data for educational purposes only.
Dedicated Quantitative Utility
Unified Strategy Simulator
Execute the mathematical models detailed in this guide inside our standalone interactive calculator.
Next Guide in Risk & Capital Series13 min read
Manual vs Automated Backtesting: Differences, Pros, Cons and Practical Examples
Compare manual and automated backtesting, their accuracy, speed, limitations, costs and practical applications. Learn which method suits your trading strategy.