Tạp chí Công Thương - Các kết quả nghiên cứu

Article detail

Article detail description

Home
Tài chính - Ngân hàng - Bảo hiểm Issue:

Forecasting CATL closing stock prices and optimizing trading strategies with XGBoost and Optuna

Published: January 24, 2025
doi:10.62831/202502011

Abstract

This study employs the XGBoost algorithm, enhanced through hyperparameter optimization with Optuna, to forecast the closing stock prices of CATL and develop effective trading strategies. The XGBoost model achieved superior performance, with an R² score of 0.9201, a Mean Absolute Error (MAE) of 0.1982, and a Mean Squared Error (MSE) of 0.0825, outperforming benchmark models such as ElasticNet and Decision Tree. The resulting trading strategy generated actionable buy, sell, and hold recommendations over a 30-day horizon, aiding investors in profit optimization. The findings highlight the high prediction accuracy and stability of the XGBoost model, particularly when optimized with Optuna, thereby enhancing decision-making efficiency in stock trading. Nonetheless, the study underscores the potential for further improvement through the integration of advanced deep learning models, alternative optimization techniques, or ensemble learning approaches. Future research could also explore incorporating unstructured data to refine forecasting accuracy and expand the applicability of trading strategies.

References

1.
Dương, T. T. T. (2023). Dự báo chiều biến động của chỉ số chứng khoán bằng thuật toán tăng cường. Tạp chí Khoa học và Đào tạo Ngân hàng, 252, 2537.
2.
Balaneji, F., Maringer, D., & Spasić, I. (2024). The power of words: Predicting stock market returns with fine-grained sentiment analysis and XGBoost. In Intelligent Systems and Applications (pp. 577-596). Springer. https://doi.org/10.1007/978-3-030-69722-7-30.
3.
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, 112, 105626.
4.
https://doi.org/10.1016/j.engappai.2022.105626.
5.
El Zaar, A., Benaya, N., Bakir, T., Mansouri, A., & El Allati, A. (2023). Prediction of US 30-years-treasury-bonds movement and trading entry point using the robust 1DCNN-BiLSTM-XGBoost algorithm. Expert Systems, 40(3), e13459.
6.
Iwai, K., & Hamagami, T. (2022). A new XGBoost inference with boundary conditions in real estate price prediction. IEEE Transactions on Engineering Management, 69(4), 1282-1290.
7.
Jabbar, A., & Jalil, S. Q. (2024). A comprehensive analysis of machine learning models for algorithmic trading of Bitcoin. arXiv:2407.18334v1 [q-fin.TR]. [Online] Available at https://arxiv.org/abs/2407.18334v1.
8.
Li, T. (2024). Research on electricity price forecast model based on electricity price formation mechanism and XGBoost and highly automated Optuna algorithm. In Proceedings of the 2024 IEEE 2nd International Conference on Sensors, Electronics and Computer Engineering (pp. 1-6). IEEE Xplore.
9.
Sadorsky, P. (2022). Forecasting solar stock prices using tree-based machine learning classification: How important are silver prices? The North American Journal of Economics and Finance, 58, 101378.
10.
Xiao, J., Wen, Z., Jiang, X., Yu, L., & Wang, S. (2024). Three-stage research framework to assess and predict the financial risk of SMEs based on hybrid method. Decision Support Systems, 177, 114090.
11.
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, 168, 115716.

Files

Lượt xem3104
Trích dẫn9
Section Tài chính - Ngân hàng - Bảo hiểm
Banner quảng cáo