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/backtestSpeed
In the last 7 days, 140 calls: 100% answered in under 300 ms, 100% in under a second, 100% in under 3 seconds. Answers are shared and rebuilt every 6 hours, so most calls read a ready copy; the X-Cache header on each answer says which, and meta.as_of says when it was read. To make it faster: narrow from and to (one season answers fastest); ask for one discipline; keep the answer on your side for 6 hours: it is rebuilt no more often than that.
Try 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.