Kerne Logo

24h funding forecast.

The same linear forecaster the bot uses to size its 24h hedge, exposed publicly. Predicted next-day funding income with an 80% confidence band, the model coefficients, and its R² against a naive baseline. Live JSON at /api/forecast; this page is a rendering of that response.

Loading forecast from /api/forecast...

Verify yourself.

The TypeScript implementation in frontend/src/lib/forecast-engine.ts mirrors bot/funding_forecast.py byte-for-byte against the same committed weights file. Two commands reproduce the headline number independently:

# Pull the live forecast JSON
curl -s https://kerne.fi/api/forecast | jq .
# Run the bot's forecaster locally and diff
python bot/funding_forecast.py --asset ETH --json
# expected: predictedSum and bounds match within 1e-9

Predicted-vs-actual logging is appended hourly to bot/data/forecast_actuals.csv; the file is the operator-side ground truth for assessing the model's out-of-sample performance over time.