Skip to content
¿?
¿?

London Local time in London: --:--

Open to conversations about trading and startups

rishikesh.mistry@outlook.com

MarketsMay 2026–nowProjectLive

Gas / power projects

Python · FastAPI · React

Mean error per MWh
£15.78
Better than best naive
35.2%
Half-hours tested
17,568
Battery capture
72.3%

Context

It started as a map of NW European gas flows, because gas sets the GB power price. It became a day-ahead forecast of GB half-hourly power prices — issued every morning, written once, scored when it settles — and then a piece of research into what the day-ahead auction actually gets wrong. One ingest layer now feeds two strands. The rest of this page is the first of them; the second has a call to publish before it has anything to show.

Two strands

  1. 01Live

    GB power: where the auction is wrong

    A day-ahead forecast that loses to the market on price level, and a research note on the one thing the auction does not price efficiently: how far the imbalance price lands from it.

    • Issues a half-hourly call each morning and scores it against the outturn.
    • Shows the auction's sign is efficient and its dispersion is not.
    • Bounds the result with an oracle: 59% of what is forecastable is already taken.

    Read the research note

  2. 02Building now

    European gas: where storage ends the winter

    A forward storage trajectory for NW Europe, published as a dated call and scored weekly against AGSI+ outturn. The trade it argues for is the TTF summer/winter spread.

    • Builds the balance from injections, withdrawals, LNG sendout, Norwegian flows and weather.
    • Publishes an end-of-winter level each week and scores the previous ones.
    • Carries the same point-in-time discipline, so no backtest sees a revision it could not have had.

    European gas winter balance Coming soon

What I did

  1. 01Built the data layer from free sources (Elexon, ENTSOG, National Gas, GIE, Open-Meteo, the ECB), keyed by publish time so no backtest sees data it couldn't have had.
  2. 02Forecast the implied heat rate rather than the price, so a gas rally passes straight through and the call reads the way a desk talks.
  3. 03Ran a walk-forward horse race of ridge, gradient boosting, an MLP, quantile and conformal models against three naive benchmarks and the market's own day-ahead price.
  4. 04Priced a battery trading on the forecast: 72.3% of the profit perfect foresight would capture.
  5. 05Caught a silent bug where zero-volume periods printed a £0 price and taught every model to predict nothing.
  6. 06Tested the auction for an edge instead of trying to beat it, and found the sign efficient and the dispersion not.
  7. 07Corrected a scarcity result for having looked 24 times, which took it from p<0.001 to p=0.017 and £139/MW/yr.

Outcome

Out of sample, it beats the best naive benchmark by 35.2%. The market's own day-ahead price is still more accurate, so it has no edge on price level.

Limitations

  • No edge on price level: the day-ahead auction is more accurate (£11.90 against £15.78) and a battery trading on it captures more (76.7% against 72.3%).
  • One year of out-of-sample data, scored once. A different year, or a structural break like 2022, could look different.
  • The battery is a simple price-taker on one market: no imbalance, ancillary or capacity revenue, and no market impact.
  • Carbon is an assumed slow-moving constant, because there is no free UK carbon price feed.

How it was tested

Test period
7 October 2025 to 7 October 2026: 366 delivery days, all out of sample.
Sample
17,568 half-hourly periods. Periods that traded no volume are dropped, not scored as £0.
Training
Walk-forward: refitted every 30 days on the trailing two years, and only ever scored on later days. Each forecast uses only data published before 09:00 the day before delivery.
Target
The GB half-hourly market index price (APX, via Elexon), in £/MWh.
Error
Mean absolute error in £/MWh. “Better than best naive” compares it with the lowest-error naive rule.
Naive benchmarks
Yesterday: the same half-hour the day before (£25.00). Last week: the same half-hour seven days earlier (£26.58). Flat heat rate: one constant heat rate times that day's gas and carbon cost (£24.36, the best of the three).
Market benchmark
The N2EX day-ahead auction price for the same half-hour, published by NESO: £11.90.
Battery
1 MW / 2 MWh, price-taking, 85% round-trip efficiency, at most two cycles a day, £2/MWh throughput cost. Scheduled on the forecast, settled at the actual price. Capture is profit as a share of perfect foresight over the same 366 days.

Charts

Interactive charts load here. They need JavaScript.

Tools

  • Python
  • FastAPI
  • DuckDB
  • React
  • Elexon API
  • Machine learning
Next · MarketsEquity strategy backtesterTested trading rules in Excel, then hunted for one that survives