How to manage future/forecast statistics

Hi

I’m looking to create statistics/graph/data for “future” values for electricity - from what I’ve gathered from various developers there’s no current support from this but rather very specific case-based solutions.

In nothern europe we have NordPool where prices are set daily at ~ 14:00/2PM for the next day. These values are normally grabbed as json and can be “prettified”.
Resolution is hourly with a customisable currency-base.

Are there any tools or hints as of how to create such a feature?

In what sense do you mean statistics? At least with the nordpool custom component the ‘current’ price is stored so you can look backwards in history. It apparently isn’t yet compatible with home-assistant statistics, so you don’t automatically get statistical data. But I’m wondering why you want statistical/historical data about earlier ‘future’ prices? Doesn’t historical data about actually occurred prices (price now) cover your needs? Even so, the question remains; is there a standard way of handling future anything, and could the nordpool custom component be updated to support the ha-native statistics.

It’s still something I’m looking at.
perhaps it should be a separate class alltogether - ‘forecast-statistics’

This is something I am also after. I get my prices for the next 24 hours just after 4pm. But sometimes the rest request fails so to retrieve the values and store them as data when I have received a valid reply would mean that I only need a few requests a day to have valid cost data at any time.
This does need a future set of values to be a thing.