Forecasting International Stock Market Trends: XGBoost, LSTM, LSTM-XGBoost, and Backtesting XGBoost Models
Open Access
- 3 November 2023
- journal article
- research article
- Published by International Academic Press in Statistics, Optimization & Information Computing
- Vol. 12 (1) , 200-209
Abstract
Forecasting time series is crucial for financial research and decision-making in business. The nonlinearity of stock market prices profoundly impacts global economic and financial sectors. This study focuses on modeling and forecasting the daily prices of key stock indices - MASI, CAC 40, DAX, FTSE 250, NASDAQ, and HKEX, representing the Moroccan, French, German, British, US, and Hong Kong markets, respectively. We compare the performance of machine learning models, including Long Short-Term Memory (LSTM), eXtreme Gradient Boosting (XGBoost), and the hybrid LSTM-XGBoost, and utilize the skforecast library for backtesting. Results show that the hybrid LSTM-XGBoost model, optimized using Grid Search (GS), outperforms other models, achieving high accuracy in forecasting daily prices. This contribution offers financial analysts and investors valuable insights, facilitating informed decision-making through precise forecasts of international stock prices.Keywords
This publication has 18 references indexed in Scilit:
- Forecasting stock market for an efficient portfolio by combining XGBoost and Hilbert–Huang transformEngineering Applications of Artificial Intelligence, 2022
- Stock index direction forecasting using an explainable eXtreme Gradient Boosting and investor sentimentsThe North American Journal of Economics and Finance, 2022
- Prediction of stock price direction using a hybrid GA-XGBoost algorithm with a three-stage feature engineering processExpert Systems with Applications, 2021
- Short-term stock market price trend prediction using a comprehensive deep learning systemJournal of Big Data, 2020
- An efficient XGBoost–DNN-based classification model for network intrusion detection systemNeural Computing and Applications, 2020
- Study on the prediction of stock price based on the associated network model of LSTMInternational Journal of Machine Learning and Cybernetics, 2019
- Research on orthopedic auxiliary classification and prediction model based on XGBoost algorithmNeural Computing and Applications, 2019
- Genetic algorithm-optimized multi-channel convolutional neural network for stock market predictionNeural Computing and Applications, 2019
- Volatility forecasting via SVR–GARCH with mixture of Gaussian kernelsComputational Management Science, 2016
- Using artificial neural network models in stock market index predictionExpert Systems with Applications, 2011