Optimizing Stock Trend Prediction in the Chinese Market: A Comparative Study of Machine Learning Models with Bayesian Hyperparameter Tuning
- DOI
- 10.2991/978-94-6463-652-9_63How to use a DOI?
- Keywords
- Machine Learning; Stock Trends Prediction; Bayesian Optimization
- Abstract
Predicting stock market trends has become increasingly vital in today’s volatile global economy. This paper addresses the challenge of accurate stock market prediction, particularly within the Chinese stock market, which has been subject to unique regulatory and economic shifts. This paper explores the application of five machine learning models to predict stock trends, comparing their performances and enhancing accuracy through hyperparameter tuning. This paper utilized a dataset from the CSI 300 Index, applying various feature engineering techniques and standardizing inputs. After training and backtesting the models, Bayesian optimization is employed to fine-tune the top-performing models: LightGBM, XGBoost, and GRU. This optimization process focuses on improving the models’ annualized returns, Sharpe ratios, and drawdowns. Each model’s predictions were tested on a backtest dataset from 2024, and key performance metrics were recorded. The initial results indicated that LightGBM, XGBoost, and GRU outperformed the other models, with LightGBM achieving an annualized return of 16.44%, XGBoost 11.44%, and GRU 16.11%. After Bayesian optimization, LightGBM improved to 20.97%, XGBoost to 17.20%, and GRU reached 27.22%, though with a higher drawdown. These results demonstrate that GRU’s risk-adjusted performance can offer significant returns, while LightGBM strikes a balance between risk and return. Future work could extend the dataset beyond the CSI 300 Index for better generalizability. While Bayesian optimization improved gradient boosting models, further tuning of neural networks and exploring advanced architectures like Transformers may enhance performance. Integrating real-world factors, such as transaction costs and macroeconomic indicators may strengthen their practical applications.
- Copyright
- © 2025 The Author(s)
- Open Access
- Open Access This chapter is licensed under the terms of the Creative Commons Attribution-NonCommercial 4.0 International License (http://creativecommons.org/licenses/by-nc/4.0/), which permits any noncommercial use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made.
Cite this article
TY - CONF AU - Yiming Xiang PY - 2025 DA - 2025/02/24 TI - Optimizing Stock Trend Prediction in the Chinese Market: A Comparative Study of Machine Learning Models with Bayesian Hyperparameter Tuning BT - Proceedings of the International Workshop on Navigating the Digital Business Frontier for Sustainable Financial Innovation (ICDEBA 2024) PB - Atlantis Press SP - 599 EP - 614 SN - 2352-5428 UR - https://doi.org/10.2991/978-94-6463-652-9_63 DO - 10.2991/978-94-6463-652-9_63 ID - Xiang2025 ER -