Skip to content
Skip to content

Robustness checks and the verdict

The checks that ask whether a backtest result could be luck, costs or a few good markets, what each verdict means, and why none of them sees the future.

Bot sandboxUpdated

On this page
  1. The checks
  2. The verdicts
  3. Monte Carlo and other settings

After every backtest the engine runs a set of checks on the same trades and gives a verdict. The checks ask the questions a careful reader would: is there enough to judge, does it survive higher costs, does it hold in both halves of the window, and is it carried by a few lucky markets or days?

The checks#

Both halves

The window split in two (at 31 August for research-dataset windows that span it, otherwise at the middle). A result that makes money in one half only is unstable.

At 2× all costs

The result with every cost doubled (fees included), keeping the same fills: the whole window and each half must stay above zero. A result that turns negative, or a half that does, is fragile.

Without the top 3 events

The result with the three events that added the most taken out. Concentration, under Robustness and costs, also shows it without the top 1 and 5 markets, the top event and the best 1 and 2 days. A result that disappears without them was carried by a few.

Independent events

How many separate events the positions were on, shown as for example “12 of 30 needed”. Markets of one event (12 price ranges of one daily crypto price, say) share one outcome, so they count as one. At least 30 are needed to judge: add markets on other events (one backtest takes up to 100, fewer over long windows) or repeat it on other windows before reading much into it.

90% range per contract

The result per contract, resampled by event: the range it falls in nine times in ten. When that range includes zero, the card says so, and the result could be luck. Under 30 independent events the range is shown but never counts as a pass, because it looks narrower than it is.

Tested on unseen data

Whether any part of the window was held back and the settings chosen without it. Usually no, and then every check above is in-sample: a different slice of the same trades.

The verdicts#

The verdict is the first check the result fails, in this order. The summary card writes it as one sentence with its numbers; Robustness and costs also shows the engine's own words, listed here. At best it says the result passed these checks; it never says a strategy works.

No trades: nothing to judge

The replay made no trades, so there is nothing to check. Took no trades lists why.

Too few trades to judge

Fewer than 30 positions. Run a longer window or more markets (at most 100 in one backtest, fewer over long windows).

Cannot be judged in this window

Over half of the contracts were still open at the end and valued at the bid, so the result measures the exit spread more than the bet. Pick a window in which the markets resolve.

Loses after costs, or even before costs

It lost money. “Pays before costs but loses after them” means the idea had something but the trading costs took more; “loses even before costs” means it lost on the prices alone.

Fails the hold-out

Settings chosen on the first part of the window lost on the part held back.

Fails walk-forward

Settings fitted on each period lost on the period after it.

Unstable in-sample

One half of the window lost money, or had no trades.

Fragile

Doubling every cost turns it negative, or turns one half of the window negative (the sentence names the half).

Driven by a few markets, events or days

Without its best few markets, events or days it loses.

Parameter-sensitive

A nearby value of one of its settings loses.

Too few independent events to judge

It made money and passed the checks above, but on fewer than 30 independent events, so the profit cannot be told apart from luck. Test it on more markets on other events (one backtest takes up to 100, fewer over long windows) and on other windows.

Passes only with idealised fills

It passes only because some fills were taken at the midpoint with no spread or fee (fill='mid'), which real resting orders rarely get.

Passes, and the hold-out made money too

It passed the checks (30 or more positions on 30 or more independent events), and settings chosen before the held-back part also made money on it. The rules themselves may still have been written with this window in view.

Passes these in-sample checks

It made money in both halves at normal and at double costs, on 30 or more positions over 30 or more independent events. Nothing was tested on unseen data, and a backtest is not proof.

Monte Carlo and other settings#

The extra lines on the equity chart answer two different questions.

ComparedOther settingsMonte Carlo
What it isThe strategy replayed with one assumption changed: ×0 and ×2 spread on every backtest, Harsher fills and nearby settings when you ask for themThe positions this run already made, resampled by event up to 1,000 times
The questionIs this result an artefact of an assumption I chose?With results like these, how much could the total and the worst drop have differed by luck?
When it helpsAlways; fills and costs are the biggest unknowns in a prediction marketOnly with 30 or more independent events (a backtest over 30 or more markets on different events); with fewer it does not run, and Robustness and costs says why
What it cannot doGive a probability: the lines are scenarios, not a rangeTest the rule itself, or say anything about data the strategy has not seen

Still stuck? Contact support.