Backtest a strategy
Odds MCPbacktest_strategy Run a simple strategy over every settled match with closing prices: strike rate, return and how far it is from chance.
GET
/v1/backtestTry it
Kept in this browser and filled in on every page. A key made in your account lands here by itself.
Answer
Press Run to call the API with your key. The answer appears here.
Parameters
strategytextrequired- Favourite, outsider, seeded, unseeded, steam (the side the market moved to) or drift.
favouriteoutsiderseededunseededsteamdrift disciplinetext- MS, WS, MD, WD or XD.
MSWSMDWDXD roundtext- R128, R64, R32, R16, QF, SF, 3P or F.
R128R64R32R16QFSF3PF fromyeartoyearmin_pricenumber- Lowest average closing price backed.
max_pricenumber- Highest average closing price backed.
Returns
strategy- The strategy tested.
filters- The filters applied.
bets- Bets the strategy placed.
won- Bets or matches won.
strike_rate- Share of bets won.
market_chance- The average chance the closing market gave the side backed.
roi_average- Return a bet at the average closing price.
roi_best- Return a bet at the best closing price.
z- How far the return is from chance, in standard errors; under 2 is noise.
by_year- The same figures year by year.