基于Lstm和Bert的股票价格预测

Xiaojian Weng, Xudong Lin, S. Zhao
{"title":"基于Lstm和Bert的股票价格预测","authors":"Xiaojian Weng, Xudong Lin, S. Zhao","doi":"10.1109/ICMLC56445.2022.9941293","DOIUrl":null,"url":null,"abstract":"Price movements in the stock market affect all aspects of the social economy, and forecasting stock prices is of great importance. Traditional stock forecasting models are based on statistical regression models, which are difficult to characterize the influential relationships between multiple variables and predict stock price trends with large errors. In recent years, with the development of neural networks, neural networks have become a common method for stock forecasting, which include Back Propagation (BP) neural network, Convolutional Neural Networks (CNN), Recurrent Neural Network (RNN), and Long Short-Term Memory (LSTM) neural network. However, most of the previous stock price prediction models only use the basic stock market data, ignoring the influence of stock market investor sentiment on stock prices. A new stock price prediction model is proposed to address the above problems. First, the investor sentiment before the stock opening is calculated by fine-tuning the BERT model, then the calculated investor sentiment and the basic stock quotation data are aggregated, and finally the LSTM model is used to predict the closing price of the next stock trading day. We validate the effectiveness of the model on a real dataset of three Chinese listed companies.","PeriodicalId":117829,"journal":{"name":"2022 International Conference on Machine Learning and Cybernetics (ICMLC)","volume":"128 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-09-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":"{\"title\":\"Stock Price Prediction Based On Lstm And Bert\",\"authors\":\"Xiaojian Weng, Xudong Lin, S. Zhao\",\"doi\":\"10.1109/ICMLC56445.2022.9941293\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Price movements in the stock market affect all aspects of the social economy, and forecasting stock prices is of great importance. Traditional stock forecasting models are based on statistical regression models, which are difficult to characterize the influential relationships between multiple variables and predict stock price trends with large errors. In recent years, with the development of neural networks, neural networks have become a common method for stock forecasting, which include Back Propagation (BP) neural network, Convolutional Neural Networks (CNN), Recurrent Neural Network (RNN), and Long Short-Term Memory (LSTM) neural network. However, most of the previous stock price prediction models only use the basic stock market data, ignoring the influence of stock market investor sentiment on stock prices. A new stock price prediction model is proposed to address the above problems. First, the investor sentiment before the stock opening is calculated by fine-tuning the BERT model, then the calculated investor sentiment and the basic stock quotation data are aggregated, and finally the LSTM model is used to predict the closing price of the next stock trading day. We validate the effectiveness of the model on a real dataset of three Chinese listed companies.\",\"PeriodicalId\":117829,\"journal\":{\"name\":\"2022 International Conference on Machine Learning and Cybernetics (ICMLC)\",\"volume\":\"128 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-09-09\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"3\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 International Conference on Machine Learning and Cybernetics (ICMLC)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICMLC56445.2022.9941293\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 International Conference on Machine Learning and Cybernetics (ICMLC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICMLC56445.2022.9941293","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

摘要

股票市场的价格走势影响着社会经济的各个方面,预测股票价格具有重要意义。传统的股票预测模型基于统计回归模型,难以刻画多变量之间的影响关系,预测股价走势误差大。近年来,随着神经网络的发展,神经网络已成为股票预测的常用方法,包括反向传播(BP)神经网络、卷积神经网络(CNN)、循环神经网络(RNN)和长短期记忆(LSTM)神经网络。然而,以往的股价预测模型大多只使用基本的股市数据,忽略了股市投资者情绪对股价的影响。针对上述问题,提出了一种新的股票价格预测模型。首先,通过对BERT模型进行微调,计算出股票开盘前的投资者情绪,然后将计算出的投资者情绪与股票基本报价数据进行汇总,最后利用LSTM模型预测下一个股票交易日的收盘价。我们在三家中国上市公司的真实数据集上验证了模型的有效性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Stock Price Prediction Based On Lstm And Bert
Price movements in the stock market affect all aspects of the social economy, and forecasting stock prices is of great importance. Traditional stock forecasting models are based on statistical regression models, which are difficult to characterize the influential relationships between multiple variables and predict stock price trends with large errors. In recent years, with the development of neural networks, neural networks have become a common method for stock forecasting, which include Back Propagation (BP) neural network, Convolutional Neural Networks (CNN), Recurrent Neural Network (RNN), and Long Short-Term Memory (LSTM) neural network. However, most of the previous stock price prediction models only use the basic stock market data, ignoring the influence of stock market investor sentiment on stock prices. A new stock price prediction model is proposed to address the above problems. First, the investor sentiment before the stock opening is calculated by fine-tuning the BERT model, then the calculated investor sentiment and the basic stock quotation data are aggregated, and finally the LSTM model is used to predict the closing price of the next stock trading day. We validate the effectiveness of the model on a real dataset of three Chinese listed companies.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信