基于高斯分布隐马氏模型识别市场风格构建量化策略
Gaussian HMM-Based Quant Strategies for Market Style Identification
摘要: 本文旨在研究隐马尔可夫模型在识别市场风格以及市场状态切换的能力以及探索hmm模型在行业轮动策略中的应用。通过对A股市场股票数据的细致收集与整理,使用价量因子构建与训练基于高斯分布的隐马尔可夫模型(Gaussian HMM),该模型能有效地解码出市场状态的隐含序列。在策略构建环节,本文提出了双策略模型,包括历史状态匹配策略和未来状态观测值预测策略。经过多轮回测检验,这两种策略在识别市场风格、把握市场趋势以及优化交易决策方面均展现出显著能力。进一步构建行业轮动模型,观测整体策略收益表现。本研究通过借助高斯分布的隐马氏模型对市场风格识别的能力输出择时交易信号,制定行业轮动决策,挖掘HMM在中国A股市场中的潜在价值,为投资者提供了新的、有效的量化投资策略。
Abstract: This study aims to investigate the capabilities of Hidden Markov Models in identifying market styles, switching market states, and exploring their application in sector rotation strategies. Through meticulous collection and organization of Chinese stock market stock data, a Gaussian HMM is constructed and trained using price-volume factors, effectively decoding latent sequences of market states. In terms of strategy construction, a dual-strategy model is proposed, encompassing a historical state matching strategy and a future state observation prediction strategy. After rigorous backtesting, both strategies have demonstrated remarkable abilities in market style identification, trend capture, and trading decision optimization. Furthermore, a sector rotation model is developed to assess the overall performance of the strategy. Leveraging the market style identification capabilities of the Gaussian HMM, this study generates timely trading signals, formulates sector rotation decisions, and explores the potential value of HMMs in the Chinese A-share market, providing investors with novel and effective quantitative investment strategies.
文章引用:黄嘉诚, 卢相刚. 基于高斯分布隐马氏模型识别市场风格构建量化策略[J]. 金融, 2024, 14(3): 1053-1071. https://doi.org/10.12677/fin.2024.143109

参考文献

[1] 赵梦娜. 基于SVM和BP神经网络的量化策略研究[D]: [硕士学位论文]. 大连: 大连理工大学, 2024.
[2] 李嵩松. 基于隐马尔可夫模型和计算智能的股票价格时间序列预测[D]: [博士学位论文]. 哈尔滨: 哈尔滨工业大学, 2011.
[3] Badge, J. and Srivastava, N. (2010) Comparative Analysis of ARIMA, Fuzzy Time Series Method and Hidden Markov Model for Stock Market Prediction. Fuzzy Systems, 2, 64-69.
[4] 黄敬峰. 基于二阶连续隐马尔可夫模型的股票价格指数预测[D]: [硕士学位论文]. 北京: 华北电力大学, 2018.
[5] 赵俊. 隐马尔可夫模型及其在金融时间序列中的应用研究[D]: [硕士学位论文]. 合肥: 合肥工业大学, 2013.
[6] Zhang, M., Jiang, X., Fang, Z., et al. (2019) High-Order Hidden Markov Model for Trend Prediction in Financial Time Series. Physica A: Statistical Mechanics and Its Applications, 517, 1-12. [Google Scholar] [CrossRef
[7] 王犇. 隐马尔可夫链、马尔可夫状态转换模型及在量化投资中的应用[M]. 北京: 清华大学出版社, 2017.
[8] Nguyen, N. (2018) Hidden Markov Model for Stock Trading. International Journal of Financial Studies, 6, 36. [Google Scholar] [CrossRef
[9] Nguyet, N. and Dung, N. (2015) Hidden Markov Model for Stock Selection. Risks, 3, 455-473. [Google Scholar] [CrossRef
[10] 傅中杰, 吴清强. 基于隐马尔科夫模型的市场指数量化择时研究[J]. 厦门大学学报, 2018, 57(3): 9.
[11] 龚健. 基于隐马尔可夫链的证券价格模型及实证分析[D]: [硕士学位论文]. 上海: 复旦大学, 2012.
[12] Chen, J., Xie, C. and Zeng, Z. (2018) A Combination of Hidden Markov Model and Association Analysis for Stock Market Sector Rotation. Revista de Cercetare si Interventie Sociala, 63, 149-165.
[13] 杜世平. 隐马尔可夫模型的原理及其应用[D]: [硕士学位论文]. 四川: 四川大学, 2004.
[14] 杜世平. 混合隐马尔可夫模型Baum-Welch算法的改进[J]. 广西师范学院学报, 2005, 22(3): 4.
[15] Bilmes, J.A. (1998) A Gentle Tutorial of the EM Algorithm and Its Application to Parameter Estimation for Gaussian Mixture and Hidden Markov Models. Technical Report, 4, 126.
[16] 喻永生, 谢天异丹, 刘畅, 等. 基于特征选择和HMM的股票价格行为研究[J]. 信息技术与网络安全, 2018, 37(8): 96-100.