首页 | 本学科首页   官方微博 | 高级检索  
     

基于改进Self-Attention的股价趋势预测
引用本文:郑树挺,徐菲菲.基于改进Self-Attention的股价趋势预测[J].计算机技术与发展,2021(3).
作者姓名:郑树挺  徐菲菲
作者单位:上海电力大学计算机科学与技术学院
基金项目:国家自然科学基金资助项目(61272437);上海市教育发展基金会和上海市教育委员会“晨光计划”资助项目(13CG58)。
摘    要:近年来中国经济发展迅速,相应的,中国的金融市场也迅速发展,受到国内外投资者的关注,因此研究中国金融市场上股票价格趋势对学者、投资者和监管者具有重要的意义。随着量化交易等理念的兴起,越来越多的学者将深度神经网络(DNN)应用于金融领域。虽然近几年DNN在图像、语音以及文本等方面已经取得了极大的成功,但其在金融时间序列预测方面遇到了很多挑战,因为其数据本质上是高度动态性,且具有高噪声。作为DNN在时序数据处理的典型代表LSTM,由于该方法没有考虑不同时间点、不同来源数据的重要性程度,效果仍不理想。不同于在传统LSTM模型上引入Attention机制,通过改进Self-Attention模型,分别对日线数据和分时线数据进行编码并融合,学习资金流变化对股票趋势变化的影响。实验结果表明,所提方法将对趋势判断的准确率提高到63.04%,并在两个月的回测实验中获得了6.562%的收益,证明了该模型在股价趋势预测上具有一定的有效性和实用性。

关 键 词:金融时间序列  股票价格预测  深度学习  自注意力机制  量化交易

Research on Stock Price Trend Prediction Based on Self-Attention Model
ZHENG Shu-ting,XU Fei-fei.Research on Stock Price Trend Prediction Based on Self-Attention Model[J].Computer Technology and Development,2021(3).
Authors:ZHENG Shu-ting  XU Fei-fei
Affiliation:(School of Computer Science and Technology,Shanghai University of Electric Power,Shanghai 200000,China)
Abstract:China’s economy has developed rapidly in recent years.Correspondingly,China’s financial market has also developed rapidly and attracted the attention of domestic and foreign investors.Therefore,studying the stock price trend in China’s financial market is of great significance to scholars,investors and regulators.With the rise of concepts such as Quantitative Trading,more and more scholars have applied deep neural networks(DNN)to the financial field.Although DNN has achieved great success in image,speech,and text in recent years,it has encountered many challenges in predicting financial time series because its data is highly dynamic in nature,and with high noise.LSTM is a typical representative of DNN in time series data processing,since this method does not take into account the importance of data from different time points and from different sources,the effect is still not satisfactory.Different from the introduction of the Attention mechanism on the traditional LSTM model,by improving the Self-Attention model,the daily data and the time-sharing data are encoded respectively and fused,to learn about the effects of changes in capital flows on changes in stock trends.Experiment shows that the proposed method improves the accuracy of trend judgment to 63.04%and achieved 6.562%gain in two months of backtesting experiments,which proves that the model is effective and practicality in predicting stock price trends.
Keywords:financial time series  stock price prediction  deep learning  self-attention  quantitative trading
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号