Backtesting

Backtest a football alert rule on past matches

A backtest replays your Scout on finished matches and shows how many alerts it would have sent and how they would have settled. It is hypothetical: past matches only. The window is the last 7 days on Free, 30 on Pro and 90 on Power.

Updated

What it is

Before you rely on a rule, you can ask how it would have behaved. A backtest takes the finished matches we recorded in your plan’s window and replays your Scout’s conditions against them. It counts the alerts it would have sent, then settles each against the outcome you chose, with the same rules as a live alert: won, lost or void.

You run it from the builder before you save a Scout, or from the Scout’s own page. The result shows the alerts, wins, losses and voids, the number of matches the rule would have alerted in, a chart of the minutes the alerts came in, and a table of the latest alerts with the score then and the final score.

Every backtest is labelled hypothetical: past matches only, and no promise about the next one. It is a way to see whether a rule is sensible and how often it fires, before it sends you a single alert.

An example rule

Any Scout can be backtested. This one uses only free conditions: level late on in a match where the closing market gave a low chance of a draw. It tracks whether a goal follows.

Match minute ≥ 70'Margin · Goal difference = 0Draw chance ≤ 25%

Then track: Another goal before full time.

Plan needed: Free.

Run it, change a number, run it again, and compare. The same conditions with a different outcome, such as a draw at full time, can be run as a second backtest.

The same conditions can track other outcomes instead: Draw at full time.

You can test variations on the same idea by adding conditions, such as:

  • In the 2nd half (Free)
  • Shots · last 10 min ≤ 1 (Pro)
  • Top side · Pressure Index ≤ 40 (Pro)

How it runs, and how far back

The window depends on your plan: the last 7 days on Free, 30 on Pro and 90 on Power. A run uses every finished match in the window, up to 5,000. When the window holds more, it takes an even sample across the whole window and says so on the result.

Runs are limited each hour: 3 on Free, 20 on Pro and 60 on Power. Matches that lack data your Scout needs are left out, and the result says how many. A backtest does not apply the daily alert limit.

InPlaySignals checks every live match once a minute, so an alert usually arrives within a minute of your conditions being met. Tools that quote a data delay of a few seconds are faster. A backtest shows what a rule describes, not the exact moment you would have been told.

Leagues differ in which stats they send, so a rule that needs a stat only fires where the league sends it. See League data quality.

How a backtest is settled

A backtest alert is settled against the outcome you chose, using the same settlement rules as a live alert, so the numbers mean the same thing. Voids are counted separately and are neither wins nor losses.

A backtest is kept apart from the live record. Every alert a Scout really sends is auto-settled, so its real record builds from its first live alert, with losses included.

The full rules for every outcome are on How alerts are settled.

Which plan it needs

This example needs only the Free plan. It has 3 conditions, within the 3 the Free plan allows, and every one comes from a free group: Match State, Closing Market and Season Stats.

Backtesting is on every plan. What changes is how far back it looks and how often you can run it: 7 days on Free, 30 on Pro and 90 on Power. A longer window holds more matches, which gives a steadier picture.

A ready-made Scout to start from

Level late, winner expected: Fires from the 70th minute when the score is level in a match the closing market gave a 25% or lower chance of a draw, and tracks whether a goal follows.

It needs the Free plan.

It makes a handy test subject. Open it, run the backtest before you save anything, change a number and run it again.

It is in the app under Scouts: choose “Start from a ready-made Scout”. It opens in the builder as a draft, and nothing is saved until you save it.

What the data says

A backtest’s result means little without a base rate to set it against. In 5,309 finished matches with kick-offs from 5 September to 25 November 2026, either team scored in the next 10 minutes 27.6% of the time, and 35.1% from the 76th to the 81st minute. Compare like with like: a rule that tracks a goal until full time has longer than 10 minutes.

Sample size matters too. A short window holds few alerts, and the result warns when fewer than 100 matches could be tested. Our own goals-after-pressure study searched combinations on earlier matches and then checked them on matches from 1 November onwards, which is the habit worth copying.

Read the studies: A goal in the next 10 minutes, Do goals follow pressure?.

Questions

Can I backtest a football alert rule?

Yes. A backtest replays your Scout on finished matches and shows how it would have settled, labelled hypothetical. Run it from the builder before you save, or from the Scout’s page.

How far back does a backtest go?

The last 7 days on Free, 30 on Pro and 90 on Power.

How many matches does a backtest use?

Every finished match in the window, up to 5,000 a run. When the window holds more, the backtest takes an even sample across the whole window and says so. Matches that lack data your Scout needs are left out, and the result says how many.

Does a good backtest mean the rule will work?

No. A backtest describes past matches only. A rule can fit a short window by chance, and the result warns when fewer than 100 matches could be tested. Its live record, with losses included, is the better evidence.

How fast are live alerts compared with a backtest?

InPlaySignals checks every live match once a minute, so an alert usually arrives within a minute of your conditions being met. Tools that quote a data delay of a few seconds are faster. A backtest shows what a rule describes, not the exact moment you would have been told.

InPlaySignals shows live match data and past results. Nothing here is betting advice or a prediction. 18+ only.