Forecasting, calibration and causal backtesting for temperature prediction markets
Thesis: validate the machinery on known truth before trusting it on real data.
Daily-temperature contracts settle on a public observation within about 48 hours, which makes them a fast, falsifiable test of forecast skill. My live research covers 30+ cities on three venues; the figures below come from the public reference implementation (weather-prediction-market-quant), which reruns offline from committed data with make demo.
Forecast skill on real data
Out of sample over 718 dates (2024-10-01 to 2026-09-30) in Chicago, London, New York, scored with closed-form Gaussian CRPS on a standardised, unit-free scale (lower is better).
EMOS reaches a CRPS skill score of 15.8% over raw GFS and 65.9% over climatology. A single pre-specified Diebold–Mariano test gives DM = -7.79 (p < 10−10); the Newey–West 95% interval for the mean CRPS difference is [-0.050, -0.030]. One test, chosen in advance, so the result does not come from searching over comparisons.
Look-ahead removed in the data layer
Every row carries a known_at time and all reads go through an as-of store. Negative control: simulated order books with no edge. A replay that joins on the target date alone reads a same-day revision and books a spurious profit (t = 31.88); the guarded replay stays flat (t = 0.68).
Simulated books, fills at the midpoint, fixed daily bankroll (not compounded). The same failure happened in my live work: forecast files arriving hours after their assumed release time leaked future information into backtests until I re-timed them by actual arrival.
Does the test find an edge when one exists?
With a planted edge of 0.5 forecast σ the harness estimates0.47(95% CI 0.40–0.54). With no edge it rejects in5.6% of 1000 simulations at a nominal 5%. The power curve says how many trading days a real edge of a given size needs before it can be told from noise:
This is why the live lab ranks candidates on calibration rather than PnL: at realistic sample sizes, PnL cannot separate a small edge from luck.
4 · From reference to live research
- Bayesian updating of ICON, ECMWF and GFS forecasts with intraday running temperatures, over discrete settlement buckets.
- Diagnosed overconfidence (reliability slopes 0.34–0.86) and recalibrated with a walk-forward log-odds blend (0.90–1.02), improving Brier by 0.001–0.004 over the market's average ask-implied probability on US daily highs.
- Trading day as the unit of inference: Newey–West t-statistics, cluster bootstrap over city-days, Wilson intervals on near-perfect win rates.
- Benjamini–Hochberg and Bonferroni control across every cut tested, adjusted for interim looks; one screen cut 798 candidate cells to 4.