{"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}
引用次数: 3
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.