应用科学学报 ›› 2023, Vol. 41 ›› Issue (2): 344-358.doi: 10.3969/j.issn.0255-8297.2023.02.013

• 计算机科学与应用 • 上一篇    下一篇

基于双流LSTM神经网络的股价趋势预测

吴峰1, 谢聪2, 姬少培3   

  1. 1. 南宁师范大学师园学院 经济管理系, 广西 南宁 530226;
    2. 广西农业职业技术大学 信息工程学院, 广西 南宁 530005;
    3. 中国电子科技集团公司第三十研究所, 四川 成都 610041
  • 收稿日期:2021-07-08 出版日期:2023-03-31 发布日期:2023-03-29
  • 通信作者: 谢聪,教授,研究方向为机器学习、智能算法。E-mail:435323646@qq.com E-mail:435323646@qq.com
  • 基金资助:
    国家自然科学基金企业创新发展联合基金(No.U19B2021);广西高等教育本科教学改革工程项目(No.2021JGA425);广西中青年教师科研基础能力提升项目(No.2021KY1736,No.2021KY1731);广西高校中青年教师科研基础能力提升项目(No.2022KY1643)资助

Stock Price Trend Prediction Based on Dual-Stream LSTM Neural Network

WU Feng1, XIE Cong2, JI Shaopei3   

  1. 1. Department of Economic Management, Shiyuan College of Nanning Normal University, Nanning 530226, Guangxi, China;
    2. College of Information Engineering, Guangxi Vocational University of Agriculture, Nanning 530005, Guangxi, China;
    3. The 30 th Research Institute of China Electronics Technology Group Corporation, Chengdu 610041, Sichuan, China
  • Received:2021-07-08 Online:2023-03-31 Published:2023-03-29

摘要: 股价波动研究依赖分析金融新闻数据集浅层特征,而忽略了金融新闻句子中单词之间的结构关系,从而导致股价波动预测研究效果不佳。针对该问题,提出了一种基于双流长短时记忆网络(long short term memory network,LSTM)神经网络的股价趋势预测模型(Sent2Vec-DLSTM)。该模型的创新之处在于:提出了基于金融股票新闻数据集和哈佛IV-4情绪词典训练的情感词向量生成模型——Sent2Vec;提出了新型的双流LSTM神经网络(Dual-stream LSTM,DLSTM)。在实验中,首先用标普500指数历史数据以及爬取获得的金融类文章进行标普500指数的趋势预测,然后用VietStock新闻和来自Cophieu68的股票价格数据预测VN指数的变化趋势。结果表明,Sent2Vec-DLSTM相较于现有模型在股价趋势预测中具有更好的效果。

关键词: 金融新闻, 双流长短时记忆网络, 情感词嵌入, 股价趋势预测, 情感分析

Abstract: Previous research on stock price volatility prediction relies on analyzing shallow features of financial news datasets and ignores the structural relationship between words in financial news, resulting in poor prediction performance. Aiming at this problem, we propose a stock price trend prediction model (Sent2Vec-DLSTM) based on a dual-stream long short-term memory network (LSTM) neural network. A vector generation model of emotional words called Sent2Vec is first proposed based on financial stock news data set and Harvard IV-4 emotion dictionary training, which is then combined with dual-stream LSTM neural network (DLSTM). In the experiment, the historical data of the S&P 500 index and the financial articles obtained by crawling are used to predict the trend of the S&P 500 index. the VietStock news and stock price data from cophieu68 are then used to predict the trend of the VN index. The results show that Sent2Vec-DLSTM outperforms existing models in stock price trend prediction.

Key words: financial news, dual-stream long short-term memory (LSTM) network, emotional word embedding, stock price trend prediction, sentiment analysis

中图分类号: