Replay historical cross-platform tick data against a strategy. Computes ROI, Sharpe, drawdown, hit rate, CLV, p-value, and an out-of-sample split. No other comparator does this for PM × Kalshi × sportsbooks.
Backtest engine activates once the historical dataset has 30 days of continuous capture. Currently ~12 days.
Below is the strategy contract the engine will accept when live. You can already define strategies in this shape via the API for forward validation.
{
"name": "PM-fade-SB-NBA-H2H",
"description": "Buy the SB favourite when PM is at least 3pp above the SB no-vig consensus between 30min and 2h before tip-off.",
"trigger": {
"sport": "basketball",
"market": "h2h",
"condition": {
"operator": "gte",
"lhs": {
"source": "pm",
"metric": "implied"
},
"rhs": {
"source": "sb",
"metric": "no_vig"
},
"delta_pp": 3
},
"timing": {
"min_minutes_before_start": 30,
"max_minutes_before_start": 120
}
},
"action": {
"side": "buy_lower_implied",
"stake_usd": 100,
"require_verdict": "executable"
}
}docs/MOAT_6_BACKTEST.md. Status : skeleton + types frozen. Runner lands once Moat 1 has 30+ days of continuous data.