Comparison of Stock price prediticon based on XGBoost and GARCH


  • Shikun Cui
  • Peiyang Zhao



Shanghai Composite Index; XGBoost; GARCH.


For a long time, financial issues have been widely discussed by all sectors of society. There are many studies on the stock market, and the main purpose is mostly to predict stock prices and the overall trend of the stock market more efficiently. In this paper, the XGBoost Model and the GARCH Model are established in terms of the Shanghai Composite Index data. To be specific, the models are fitted and predicted by Python and Eviews, in order to find a better prediction mechanism. The XGBoost Model proposed in this paper is not satisfactory in terms of fitting and prediction effects, and has a certain degree of deviation. The GARCH Model shows a better performance in the short term. This research aims to find mathematical models that can effectively fit and predict the stock market through the combination of qualitative analysis and quantitative analysis. These results shed light on rationalizing the improvement of stock price prediction methods through simulation results.


Download data is not yet available.


D. W. Arner, J. Barberis, and R. P. Buckley. "The evolution of Fintech: A new post-crisis paradigm." Geo. J. Int'l L. vol. 47, 2015, 1271.

J. Wittenbach, B. d'Alessandro, and C. B. Bruss. "Machine Learning for Temporal Data in Finance: Challenges and Opportunities." arXiv preprint arXiv:2009.05636, 2020.

L. Sayavong, Z. Wu, and S. Chalita. "Research on stock price prediction method based on convolutional neural network." 2019 International Conference on Virtual Reality and Intelligent Systems (ICVRIS). IEEE, 2019.

S. Aziz, et al. "Machine learning in finance: A topic modeling approach." European Financial Management, 2019.

T. Chen, and C. Guestrin. "XGBoost: A scalable tree boosting system." Proceedings of the 22nd acm sigkdd international conference on knowledge discovery and data mining, 2016.

T. Bollerslev, "Generalized autoregressive conditional heteroskedasticity." Eeri Research Paper vol. 31.3, 1986, pp. 307-327.

R. Engle, "GARCH 101: The use of ARCH/GARCH models in applied econometrics." Journal of economic perspectives vol. 15.4, 2001, pp. 157-168.

F. Klaassen, "Improving GARCH volatility forecasts with regime-switching GARCH." Physica-Verlag HD, 2002.

Hillebrand, E. "Neglecting parameter changes in GARCH models." Journal of Econometrics vol. 129.1-2, 2005, pp. 121-138.

K. K. Yun, S. W. Yoon, and D. Won. "Prediction of stock price direction using a hybrid GA-XGBoost algorithm with a three-stage feature engineering process." Expert Systems with Applications vol. 186, 2021, pp. 115716.

M. Kuhn, and K. Johnson. Feature engineering and selection: A practical approach for predictive models. CRC Press, 2019.




How to Cite

Cui, S., & Zhao, P. (2023). Comparison of Stock price prediticon based on XGBoost and GARCH. BCP Business & Management, 36, 55–63.