[Paper Review] Stock Price Prediction using Sentiment Analysis and Deep Learning for Indian Markets
The paper builds two models to predict stock prices in India: an LSTM using historical prices and a Random Forest using sentiment scores plus macroeconomic features, evaluated on four major stocks with RMSE.
Stock market prediction has been an active area of research for a considerable period. Arrival of computing, followed by Machine Learning has upgraded the speed of research as well as opened new avenues. As part of this research study, we aimed to predict the future stock movement of shares using the historical prices aided with availability of sentiment data. Two models were used as part of the exercise, LSTM was the first model with historical prices as the independent variable. Sentiment Analysis captured using Intensity Analyzer was used as the major parameter for Random Forest Model used for the second part, some macro parameters like Gold, Oil prices, USD exchange rate and Indian Govt. Securities yields were also added to the model for improved accuracy of the model. As the end product, prices of 4 stocks viz. Reliance, HDFC Bank, TCS and SBI were predicted using the aforementioned two models. The results were evaluated using RMSE metric.
Motivation & Objective
- Motivate stock movement prediction in Indian markets using historical and sentiment data.
- Incorporate sentiment scores via Intensity Analyzer into a machine learning model for improved accuracy.
- Assess impact of macroeconomic features (gold, oil, USD, Indian government security yields) on prediction performance.
Proposed method
- Use LSTM with historical prices as the primary input variable.
- Apply sentiment analysis from Intensity Analyzer as the main feature for a Random Forest model.
- Augment models with macro parameters: gold price, oil price, USD exchange rate, and Indian government securities yields.
- Evaluate predictions for four stocks (Reliance, HDFC Bank, TCS, SBI) using RMSE as the metric.
Experimental results
Research questions
- RQ1Can LSTM using only historical prices accurately predict short-term stock movements in the Indian market?
- RQ2Does incorporating sentiment analysis via a Random Forest boost predictive accuracy beyond historical prices alone?
- RQ3Do macroeconomic features (gold, oil, USD, government securities yields) improve model performance for Indian stocks?
- RQ4Which model (LSTM vs. Random Forest with sentiment) performs better across the selected stocks?
Key findings
- The study employs two modeling approaches: LSTM with historical prices and Random Forest with sentiment features plus macroparameters.
- Predictions are generated for four Indian stocks: Reliance, HDFC Bank, TCS, and SBI.
- Model evaluation uses RMSE as the performance metric.
- Sentiment data collected via Intensity Analyzer is integrated as a major input to the Random Forest model.
- Macro features such as gold, oil prices, USD exchange rate, and Indian government securities yields are included to enhance accuracy.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.