EconPapers    
Economics at your fingertips  
 

Stock Price Prediction Using a Stacked Heterogeneous Ensemble

Michael Parker, Mani Ghahremani () and Stavros Shiaeles
Additional contact information
Michael Parker: School of Computing, University of Portsmouth, Buckingham Building, Lion Terrace, Portsmouth PO1 3HE, UK
Mani Ghahremani: School of Computing, University of Portsmouth, Buckingham Building, Lion Terrace, Portsmouth PO1 3HE, UK
Stavros Shiaeles: School of Computing, University of Portsmouth, Buckingham Building, Lion Terrace, Portsmouth PO1 3HE, UK

IJFS, 2025, vol. 13, issue 4, 1-23

Abstract: Forecasting stock price ranges remains a significant challenge because of the non-linear nature of financial data. This study proposes and evaluates a stacking ensemble model for range-based volatility forecasting, using open, high, low, and close (OHLC) prices. The model integrates a diverse, heterogeneous set of base learners, such as statistical (ARIMA), machine learning (Random Forest), and deep learning (LSTM, GRU, Transformer) models, with an XGBoost meta-learner. Applied to several major financial indices and a single stock, the proposed framework demonstrates high predictive accuracy, achieving R 2 scores between 0.9735 and 0.9905. These results highlight the efficacy of a multi-faceted stacking approach in navigating the complexities of financial forecasting.

Keywords: stacked machine learning; stock price forecasting; LSTM; ARIMA; XGBoost; GRU; transformer (search for similar items in EconPapers)
JEL-codes: F2 F3 F41 F42 G1 G2 G3 (search for similar items in EconPapers)
Date: 2025
References: Add references at CitEc
Citations:

Downloads: (external link)
https://www.mdpi.com/2227-7072/13/4/201/pdf (application/pdf)
https://www.mdpi.com/2227-7072/13/4/201/ (text/html)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:gam:jijfss:v:13:y:2025:i:4:p:201-:d:1780991

Access Statistics for this article

IJFS is currently edited by Ms. Hannah Lu

More articles in IJFS from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().

 
Page updated 2025-10-29
Handle: RePEc:gam:jijfss:v:13:y:2025:i:4:p:201-:d:1780991