Predicting the stock market prices using a machine learning-based framework during crisis periods
Zakia Zouaghia,Zahra Kodia,Lamjed Ben Said
DOI: https://doi.org/10.1007/s11042-024-20270-3
IF: 2.577
2024-10-04
Multimedia Tools and Applications
Abstract:Stock markets are highly volatile, complex, non-linear, and stochastic. Therefore, predicting stock market behavior is one of finance's most complex challenges. Recently, political, health, and economic crises have profoundly impacted global stock prices, leading researchers to use machine learning to predict prices and analyze financial data. This article delves into two primary facets: firstly, examining stock price responses to the Russia-Ukraine war and the COVID-19 pandemic by assessing volatility and draw-downs from 2018 to 2023. Secondly, we introduce a framework named StockPredCris , designed to predict future stock indices employing two machine learning algorithms: Support Vector Regression (SVR) and eXtreme Gradient Boosting (XGBoost). Our experiments are conducted on four major stock market indices (NASDAQ, Russell 2000, DAX, and SSE) using a combination of historical stock index data and COVID-19 pandemic data. The performance of the implemented models is evaluated using five regression metrics along with the CPU time metric. The results of SVR demonstrates superior performance and signifcantly outperforms the other considered models for benchmarking. For instance, SVR achieved 0.0 MSE and 99.99% R for the four stock indices, with training times between 0.005 and 0.007 seconds. We recommend SVR for predicting future stock prices during crises. This study offers valuable insights for financial decision-makers, guiding them in making informed choices by understanding stock market reactions to major global crises, while addressing the uncertainty and fear of investors.
computer science, information systems, theory & methods,engineering, electrical & electronic, software engineering