
Stock Prediction Using Sentiment Analysis and LSTM
Author(s) -
Anjima K. S
Publication year - 2021
Publication title -
international journal for research in applied science and engineering technology
Language(s) - English
Resource type - Journals
ISSN - 2321-9653
DOI - 10.22214/ijraset.2021.38231
Subject(s) - sentiment analysis , computer science , python (programming language) , stock (firearms) , stock exchange , stock market , artificial intelligence , machine learning , econometrics , economics , finance , programming language , mechanical engineering , paleontology , horse , engineering , biology
The stock market is a difficult area to anticipate since it is influenced by a variety of variables at the same time. The stock exchange is where equities are exchanged, transferred, and circulated. This research proposes a hybrid algorithm that predicts a stock's next day closing prices using sentiment analysis and Long Short Term Memory. The LSTM model seems to be quite popular in time-series forecasting, which is why it was selected for this project. Our proposed methodology makes use of the temporal association between public opinion and stock prices. Part-of-speech tagging is used to do sentiment analysis, and Long Short Term Memory is utilized to predict the stock's next day closing price. When these two factors are combined, we get a good picture of the stock's future. In this project, two main datasets have been used: HCLTECH company stock data and the news related to each stock of the HCL company for each day. The project is implemented by using the python programming language. The python programming language has been used to execute the project. This also incorporates machine learning along with public feedback. Sentiment analysis enables us to evaluate a diversity of political and economic factors, which have a significant impact on the stock market. Keywords: LSTM, sentiment analysis, RNN, Back propagation neural network.