基于Bagging集成算法的COMEX黄金期货价格预测
Prediction of COMEX Gold Futures Prices Based on the Bagging Integrated Algorithm
DOI: 10.12677/mos.2025.143256, PDF,   
作者: 李 辰:河南工业大学土木建筑学院,河南 郑州
关键词: 黄金期货价格预测机器学习集成学习Gold Futures Price Prediction Machine Learning Integrated Learning
摘要: 针对全球金融市场复杂性问题,构建准确的黄金价格预测模型显得尤为重要。文章选取多个影响黄金价格的主要因素,考虑宏观经济、金融市场、政治风险等多个维度,运用斯皮尔曼分析法筛选指标并建立指标体系框架。采用灰狼优化算法(Grey Wolf Optimizer, GWO)优化极端梯度提升模型(eXtreme Gradient Boosting, XGBoost),构建GWO-XGBoost模型,并将其作为基础学习器,建立集成模型Bagging-GWO-XGBoost。实验结果显示,优化算法提升了模型在COMEX黄金期货价格预测中的表现;当加入集成算法后,模型的RMSE、MAE和MAPE均有所改善。因此,该模型能够为黄金价格预测提供更加精准的预测数据,被视为一种实用高效的金融工具,帮助金融市场进行预测与决策。
Abstract: Given the complexities of global financial markets, constructing an accurate model for gold price prediction is of significant importance. This study selects multiple key factors influencing gold prices, considering various dimensions such as macroeconomics, financial markets, and political risks. Spearman’s correlation analysis is employed to filter indicators and establish an indicator system framework. The Grey Wolf Optimizer (GWO) is utilized to optimize the eXtreme Gradient Boosting model (XGBoost), resulting in the development of a GWO-XGBoost model. This model is then used as a base learner to construct an ensemble model, Bagging-GWO-XGBoost. Experimental results demonstrate that the optimization algorithm enhances the model’s performance in predicting COMEX gold prices. Furthermore, the integration of the ensemble algorithm leads to improvements in the model’s RMSE, MAE, and MAPE metrics. Therefore, this model can provide more accurate predictive data for gold price forecasting and is considered a practical and efficient financial tool, aiding in market predictions and decision-making processes.
文章引用:李辰. 基于Bagging集成算法的COMEX黄金期货价格预测[J]. 建模与仿真, 2025, 14(3): 682-693. https://doi.org/10.12677/mos.2025.143256

参考文献

[1] 徐静怡, 孔梦奇. 基于ARIMA模型对纽约COMEX黄金期货价格的研究[J]. 中国商论, 2022(18): 123-125.
[2] 尹晨曦. 基于Lasso-PSO-BP方法的中国黄金期货价格短期预测[J]. 洛阳理工学院学报(自然科学版), 2022, 32(4): 81-87.
[3] 梁龙跃, 黄盈. 黄金期货价格短期预测方法研究——基于CEEMDAN与LSTM模型的COMEX黄金期货价格数据分析[J]. 价格理论与实践, 2023(9): 164-168.
[4] Mirjalili, S., Mirjalili, S.M. and Lewis, A. (2014) Grey Wolf Optimizer. Advances in Engineering Software, 69, 46-61. [Google Scholar] [CrossRef
[5] Chen, T. and Guestrin, C. (2016) XGBoost: A Scalable Tree Boosting System. In: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Association for Computing Machinery, 785-794. [Google Scholar] [CrossRef
[6] Breiman, L. (1996) Bagging Predictors. Machine Learning, 24, 123-140. [Google Scholar] [CrossRef
[7] Bouri, E. and Jalkh, N. (2019) Conditional Quantiles and Tail Dependence in the Volatilities of Gold and Silver. International Economics, 157, 117-133. [Google Scholar] [CrossRef
[8] Koulis, A. and Kyriakopoulos, C. (2023) On Volatility Transmission between Gold and Silver Markets: Evidence from a Long-Term Historical Period. Computation, 11, Article No. 25. [Google Scholar] [CrossRef
[9] Mo, B., Nie, H. and Jiang, Y. (2018) Dynamic Linkages among the Gold Market, US Dollar and Crude Oil Market. Physica A: Statistical Mechanics and its Applications, 491, 984-994. [Google Scholar] [CrossRef
[10] 曹万解. 国内黄金市场发展现状及黄金期货投资机会研究[J]. 商展经济, 2023(24): 97-100.
[11] Qian, Y., Ralescu, D.A. and Zhang, B. (2019) The Analysis of Factors Affecting Global Gold Price. Resources Policy, 64, Article ID: 101478. [Google Scholar] [CrossRef
[12] 张永康, 晏乐惠, 张萌, 等. 我国焦煤期货市场研究[J]. 中国市场, 2024(15): 26-29.
[13] 周子朝. 国际原油与黄金价格对我国通货膨胀的影响[J]. 北方经贸, 2022(10): 41-44.
[14] 万博, 张华硕. 后金融危机时代国际黄金价格影响因素实证分析[J]. 科技和产业, 2014, 14(8): 168-172.
[15] 吴子弘. 中美贸易摩擦对国际黄金价格变动影响研究[D]: [硕士学位论文]. 昆明: 云南财经大学, 2023.
[16] 郑明贵, 曹天琦, 曾健林. 国际黄金期货价格影响因素研究[J]. 黄金科学技术, 2021, 29(4): 510-524.
[17] 刘瑶. 财税政策与人民币国际化的互动路径研究[J]. 国际金融, 2023(6): 19-27.
[18] 刘晓星, 汤淳, 杨广义. 金融安全风险演化: 理论与实证[J]. 兰州财经大学学报, 2023, 39(6): 18-30.
[19] 温彬, 李鑫. 金价长期走势的六个典型化事实[J]. 银行家, 2024(7): 92-100.
[20] 张若钦, 王刚. 美元指数和美国国债收益率对国际黄金价格的非线性影响——基于STR模型的研究[J]. 价格月刊, 2013(6): 37-40.
[21] 杨雪倩. 基于CNN-BiGRU模型的黄金期货价格预测[D]: [硕士学位论文]. 开封: 河南大学, 2023.
[22] 翁赫. 中国黄金期现货价格关联及基差影响因素分析[J]. 黄金, 2023, 44(8): 5-9.
[23] 马文淑. 基于组合模型的人民币汇率预测实证研究[D]: [硕士学位论文]. 南京: 南京审计大学, 2022.
[24] 吴虹晓. 中国黄金期货和现货价格关系的实证研究[J]. 中国货币市场, 2024(2): 71-75.
[25] Duan, Y., Zhang, J. and Wang, X. (2023) Henry Hub Monthly Natural Gas Price Forecasting Using CEEMDAN-Bagging-HHO-SVR. Frontiers in Energy Research, 11, Article ID: 1323073. [Google Scholar] [CrossRef