Predicting stock market index prices using Facebook Prophet and XGBoost: evidence from the Saudi stock market

Main Article Content

KHLEDJ meryem
MANSOURI hadjmoussa
Borgi Hela

Abstract

This study investigates the effectiveness of two machine learning models—Facebook Prophet and XGBoost—in predicting the Saudi Stock Market Index (TASI). The study relied on a daily series of prices during the post-COVID-19 recovery period. The results reveal that there is a difference in prediction accuracy, as the XGBoost model outperformed the Facebook Prophet model in various accuracy criteria (MSE, RMSE, and MAPE). The study concludes that integrating the strengths of both models can enhance stock index forecasting accuracy, providing valuable insights for financial analysts and policymakers.

Metrics

Metrics Loading ...

Article Details

How to Cite
KHLEDJ meryem, MANSOURI hadjmoussa, & Borgi Hela. (2025). Predicting stock market index prices using Facebook Prophet and XGBoost: evidence from the Saudi stock market. IJEP, 8(02), Pages : 293–307. https://doi.org/10.54241/2065-008-002-017
Section
Articles
Author Biographies

KHLEDJ meryem, University of Tamanrasset (Algeria)

Researcher at University of Tamanrasset (Algeria)

MANSOURI hadjmoussa, University of Tamanrasset (Algeria)

Researcher at University of Tamanrasset (Algeria)

Borgi Hela, Princess Nourah bint Abdulrahman University (Saudi Arabia)

Teacher researcher at Princess Nourah bint Abdulrahman University (Saudi Arabia)

References

 AKER, Y. (2022). Analysis of Price Volatility in BIST 100 Index With Time Series: Comparison of Fbprophet and LSTM Model. European Journal of Science and Technology. doi:https://doi.org/10.31590/ejosat.1066722.

 Al-Maadid, A., Alhazbi, S., & Al-Thelaya, K. (2022). Using Machine Learning to Analyze the Impact of Coronavirus Pandemic News on the Stock Markets in GCC Countries. Research in International Business and Finance, 101667. https://doi.org/10.1016/j.ribaf.2022.101667

 Antonio Caparrini López, Arroyo, J. and Jordi Escayola Mansilla (2024). S&P 500 stock selection using machine learning classifiers: A look into the changing role of factors. Research in international business and finance, pp.102336–102336. doi:https://doi.org/10.1016/j.ribaf.2024.102336.

 Aytaç, E. (2021). Forecasting Turkey’s Hazelnut Export Quantities with Facebook’s Prophet Algorithm and Box-Cox Transformation. ADCAIJ: Advances in Distributed Computing and Artificial Intelligence Journal, 10(1), pp.33–47. doi:https://doi.org/10.14201/adcaij20211013347.

 Basak, S., Kar, S., Saha, S., Khaidem, L., & Dey, S. R. (2019). Predicting the direction of stock market prices using tree-based classifiers. The North American Journal of Economics and Finance, 47, 552–567. https://doi.org/10.1016/j.najef.2018.06.013

 Choy, Y. T., Hoo, M. H., & Khor, K. C. (2021, September). Price prediction using time-series algorithms for stocks listed on bursa malaysia. In 2021 2nd International Conference on Artificial Intelligence and Data Sciences (AiDAS) (pp. 1-5). IEEE.

 Dezhkam, A., &Manzuri, M. T. (2023). Forecasting stock market for an efficient portfolio by combining XGBoost and Hilbert–Huang transform. Engineering Applications of Artificial Intelligence, 118, 105626. https://doi.org/10.1016/j.engappai.2022.105626

 Garlapati, A., Krishna, D. R., Garlapati, K., Rahul, U., & Narayanan, G. (2021, April). Stock price prediction using Facebook Prophet and Arima models. In 2021 6th International Conference for Convergence in Technology (I2CT) (pp. 1-7). IEEE.

 Goldberg, L. R., & Mouti, S. (2022). Sustainable investing and the cross-section of returns and maximum drawdown. The Journal of Finance and Data Science, 8, 353-387.

 Guerra, P., Castelli, M., &Côrte-Real, N. (2022). Machine learning for liquidity risk modelling: A supervisory perspective. Economic Analysis and Policy. https://doi.org/10.1016/j.eap.2022.02.001

 Huang, Q. (2022). Forecasting Stock Prices Using Multi-Macroeconomic Regressors Based on the Facebook Prophet Model. BCP Business & Management EMEHSS, 2022.

 Ibrahim, A., Kashef, R., & Corrigan, L. (2021). Predicting market movement direction for bitcoin: A comparison of time series modeling methods. Computers & Electrical Engineering, 89, 106905. https://doi.org/10.1016/j.compeleceng.2020.106905

 Kaninde, S., Mahajan, M., Janghale, A., & Joshi, B. (2022). Stock Price Prediction using Facebook Prophet. ITM Web of Conferences, 44, 03060. https://doi.org/10.1051/itmconf/20224403060

 Katterbauer, K., Syed, H., Cleenewerck, L., & Genc, S. Y. (2022). Robo-Sukuk pricing for Chinese equities. Borsa Istanbul Review, 22(5), 854–860. https://doi.org/10.1016/j.bir.2022.06.002

 Kozuch, A., Dominika Cywicka, & Adamowicz, K. (2023). A Comparison of Artificial Neural Network and Time Series Models for Timber Price Forecasting. Forests, 14(2), 177–177. https://doi.org/10.3390/f14020177

 Li, Y., Yang, Y., Zhu, K., & Zhang, J. (2021). Clothing Sale Forecasting by a Composite GRU–Prophet Model With an Attention Mechanism. IEEE Transactions on Industrial Informatics, 17(12), 8335–8344. https://doi.org/10.1109/TII.2021.3057922

 MstNoorunnahar, Arman Hossain Chowdhury, & Farhana Arefeen Mila. (2023). A tree based eXtreme Gradient Boosting (XGBoost) machine learning model to forecast the annual rice production in Bangladesh. PLoS ONE.18(3), e0283452–e0283452. https://doi.org/10.1371/journal.pone.0283452

 Petropoulos, A., &Siakoulis, V. (2021). Can central bank speeches predict financial market turbulence? Evidence from an adaptive NLP sentiment index analysis using XGBoost machine learning technique. Central Bank Review. https://doi.org/10.1016/j.cbrev.2021.12.002

 RashidpoorToochaei, M., &Moeini, F. (2023). Evaluating the performance of ensemble classifiers in stock returns prediction using effective features. Expert Systems with Applications, 213, 119186. https://doi.org/10.1016/j.eswa.2022.119186

 Saldivar, F., & Ortiz, M. (2019). Stock market price prediction using various machine learning approaches. Sl: sn.

 Sonkavde, G., Dharrao, D.S., Bongale, A.M., Deokate, S.T., Doreswamy, D. and Bhat, S.K. (2023). Forecasting Stock Market Prices Using Machine Learning and Deep Learning Models: A Systematic Review, Performance Analysis and Discussion of Implications. International Journal of Financial Studies, [online] 11(3), p.94. doi:https://doi.org/10.3390/ijfs11030094.

 Stéfano Frizzo Stefenon, Laio Oriel Seman, Viviana Cocco Mariani, & Leandro. (2023). Aggregating Prophet and Seasonal Trend Decomposition for Time Series Forecasting of Italian Electricity Spot Prices. 16(3), 1371–1371. https://doi.org/10.3390/en16031371

 Usher, J., &Dondio, P. (2020, June). Brexit election: forecasting a conservative party victory through the pound using arima and facebook's prophet. In Proceedings of the 10th International Conference on Web Intelligence, Mining and Semantics (pp. 123-128).

 Vartholomaios, A., Karlos, S., Kouloumpris, E., &Tsoumakas, G. (2021, September). Short-term renewable energy forecasting in greece using prophet decomposition and tree-based ensembles. In International Conference on Database and Expert Systems Applications (pp. 227-238). Cham: Springer International Publishing.

 Yun, K. K., Yoon, S. W., & Won, D. (2021). Prediction of stock price direction using a hybrid GA- XGBoost algorithm with a three-stage feature engineering process. Expert Systems with Applications, 186, 115716. https://doi.org/10.1016/j.eswa.2021.115716.

 Żbikowski, K., &Antosiuk, P. (2021). A machine learning, bias-free approach for predicting business success using Crunchbase data. Information Processing & Management, 58(4), 102555. https://doi.org/10.1016/j.ipm.2021.102555

 Zhang, Y. (2022, December 20). Stock Price Prediction Method Based on XGboost Algorithm. Www.atlantis-Press.com; Atlantis Press. https://doi.org/10.2991/978-94-6463-030-5_60