Sharpfy
Free trialStart free trial

How to Backtest a Football Betting Strategy Without Fooling Yourself

Updated 5 min read Ricardo Pasquino

On this page 11 sections

Short answer

Backtesting a betting strategy means applying a fixed rule ("back every home underdog between 3.00 and 4.00") to past matches, at the prices that were available then, and measuring what it would have returned. Done honestly, it uses prices you could really have taken, measures Closing Line Value as well as profit, tests the rule on data it wasn't designed on, and accounts for every variation you tried.

Most simple rules, tested this way, lose roughly the bookmaker's margin. At Pinnacle's closing price, backing every football selection in our calibration study returned −6.24%. A backtest that beats that by a lot, on a few hundred bets, is more likely luck than edge.

Data to 5 Sep 2026.

Step 1: write the rule before you look

Write down the rule in full before running anything:

  • market and line (match result, over 2.5, Asian handicap −0.5);
  • which selections qualify (odds range, league, side);
  • when you would bet (the open, 24 hours before, a fixed time before kickoff);
  • which bookmaker's price you would take;
  • stake (flat stakes are easiest to evaluate).

If you change the rule after seeing the results, the test is no longer a test.

Step 2: use prices you could actually have taken

This is where most backtests go wrong.

  • Not the maximum. "Best price across 30 bookmakers" was rarely all available to one person at one moment.
  • Not the close, unless you bet at the close. If your rule bets the morning of the match, use morning prices.
  • Only bookmakers you can use. A price at a bookmaker that isn't licensed where you live is not part of your result.
  • Same settlement. Regular time markets should be settled on regular time.
Read Where to Find Historical Closing Odds

Step 3: measure CLV as well as profit

For every simulated bet, compare the entry price with the sharp fair closing price for the same market and line.

CLV = entry odds / fair closing odds - 1

Profit tells you what happened. CLV tells you whether the rule systematically took better prices than the market's final, accurate estimate. It is far less noisy than profit, so it gives a verdict on a few hundred bets where profit can't.

Read Why the Closing Line Is the Benchmark

Step 4: know how much noise to expect

At decimal odds d, a single flat-stake bet's return has a standard deviation of roughly √(d − 1) stakes. That means the return of a strategy with no edge at all will wander within these ranges about 95% of the time:

BetsOdds around 1.90Odds around 2.00Odds around 3.40
500±8.3%±8.8%±13.6%
1,000±5.9%±6.2%±9.6%
3,000±3.4%±3.6%±5.5%
10,000±1.9%±2.0%±3.0%

So a +5% ROI over 500 bets at odds around 2.00 is well inside the noise. Draw strategies, at higher odds, need even more bets.

95% range ≈ 1.96 × √(d - 1) / √n

Step 5: test out of sample

Split your data by time:

  1. design and tune the rule on the older seasons;
  2. freeze it;
  3. run it once on the newer seasons.

If the edge disappears on the newer data, it was probably fitted to noise. A rolling version (tune on seasons 1–2, test on 3; tune on 2–3, test on 4) is stronger still.

Step 6: count every variation you tried

If you test 50 odds ranges × 20 leagues, some combinations will look excellent by chance. The more you try, the better the best one looks, and the less it means.

We ran into this ourselves: testing every league × market × side with 400+ selections gave 1,654 tests at the close and 1,921 at the open. After a false discovery rate correction and requiring each finding to repeat in both halves of the period, none survived.

Read Are There Inefficient Leagues?

What a realistic result looks like

Before you run anything, expect the rule to lose about the margin of the price you take. At Pinnacle's closing price, by market side:

Market and sideReturn at Pinnacle's priceReturn at the fair price
Asian handicap favourite−3.71%+0.43%
Asian handicap underdog−8.24%−1.02%
Match result: home−7.59%−0.53%
Match result: draw−9.23%+0.37%
Match result: away−10.19%−0.65%

The fair-price returns sit close to zero; the price returns are the margin. A strategy only has an edge if it finds prices above fair, which usually means at bookmakers that haven't caught up with the sharp market.

When Sharpfy's public backtests are live, you can see this method applied rule by rule: Sharpfy backtests.

A checklist

  • Rule written down before testing.
  • Entry prices from the moment and bookmaker you would really use.
  • Settlement on the right period.
  • Profit, ROI and CLV against the sharp fair close.
  • Number of bets and the noise range for that number.
  • Out-of-sample result reported separately.
  • Number of variations tried.

How this connects to Sharpfy

Sharpfy's backtests replay robot rules over historical sharp and bookmaker prices and report ROI and CLV for each one, so you can check a rule before turning it into a Robot that alerts you live. Live alerts are then tracked against the fair close the same way. See CLV Tracking Software.

FAQ

How many bets do I need to backtest a betting strategy?

More than most people think. At odds around 2.00, a strategy with no edge can show anything between −6.2% and +6.2% ROI over 1,000 bets. CLV gives a clearer signal with fewer bets.

What is the most common backtesting mistake?

Using prices you couldn't have taken, such as the best price across every bookmaker or the closing price for a rule that bets earlier.

Is a profitable backtest proof of an edge?

No. It needs enough bets, a positive result on data it wasn't designed on, and ideally positive CLV against a sharp close.

Why do most backtested strategies lose?

Because the odds are accurate and the margin is a cost on every bet. Without prices above fair, a rule loses about the margin.

Sources

Checked 25 November 2026.

Leagues today
Menu