[Paper Review] Machine Learning on EPEX Order Books: Insights and Forecasts
This paper proposes machine learning models—specifically feed-forward neural networks and random forests—trained on EPEX order book data, renewable infeed forecasts, and demand projections to improve German electricity spot price forecasting. It demonstrates that feature selection and volume-based order book representation significantly enhance performance, with the best model achieving a 4.45% MdAPE out-of-sample.
This paper employs machine learning algorithms to forecast German electricity spot market prices. The forecasts utilize in particular bid and ask order book data from the spot market but also fundamental market data like renewable infeed and expected demand. Appropriate feature extraction for the order book data is developed. Using cross-validation to optimise hyperparameters, neural networks and random forests are proposed and compared to statistical reference models. The machine learning models outperform traditional approaches.
Motivation & Objective
- To reduce the need for extensive statistical analysis in order-book-based electricity price forecasting by leveraging machine learning.
- To investigate how order book data can be effectively transformed and incorporated into machine learning models for price forecasting.
- To evaluate whether machine learning models outperform traditional statistical and regression-based approaches in forecasting German electricity spot prices.
- To assess the impact of feature selection and model architecture on forecasting accuracy, particularly in out-of-sample performance.
- To explore the potential of machine learning for reconstructing renewable infeed and generating forward price curves from order book data.
Proposed method
- Order book data is transformed into price curves using volume-based partitioning, converting bid and ask curves into step functions representing cumulative volumes at each price level.
- Feature engineering extracts relevant price levels and volumes from the order book, focusing on those influenced by renewable infeed and demand.
- Neural networks and random forests are trained using cross-validation to optimize hyperparameters, with inputs including order book features, renewable infeed forecasts, and expected demand.
- Feature selection is performed using random forests to identify the most predictive features, reducing dimensionality and improving model generalization.
- Recurrent neural networks (LSTM) are tested but yield inferior results due to high dimensionality and complexity, leading to a focus on feed-forward networks and random forests.
- Model performance is evaluated using RMSE, MAE, and MdAPE on both in-sample and out-of-sample data, with comparisons to naive, linear regression, and literature-based architectures.
Experimental results
Research questions
- RQ1How can order book data from the EPEX electricity market be effectively represented and incorporated into machine learning models for price forecasting?
- RQ2To what extent can machine learning reduce the need for manual statistical analysis in order-book-based forecasting compared to traditional econometric methods?
- RQ3Which machine learning architectures—neural networks or random forests—yield the most accurate out-of-sample forecasts when applied to EPEX order books?
- RQ4How does feature selection impact forecasting performance, particularly in reducing overfitting and improving generalization?
- RQ5Can machine learning models reconstruct renewable infeed or generate forward curves from order book data, and what is their potential for market applications?
Key findings
- The feed-forward neural network with feature selection using only 10 features achieved the lowest out-of-sample MdAPE of 4.45%, outperforming other models.
- The random forest model with 10 selected features achieved a 9.73% in-sample MdAPE, indicating strong predictive power with reduced overfitting.
- Neural networks from prior literature showed strong in-sample performance but suffered from significant overfitting, with out-of-sample MdAPE values exceeding 30%.
- The naive model, while simple, achieved a 11.61% out-of-sample MdAPE, demonstrating that basic heuristics remain competitive in practice.
- Recurrent neural networks (LSTM) were tested but yielded worse results than feed-forward networks, likely due to the high dimensionality of the multivariate time series.
- The best-performing model (10-feature neural network) demonstrated that feature selection is critical for generalization, reducing error by over 50% compared to unselected models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.