/LSTM_Stock_Prediction-and-Sentiment_Analysis

Stock Prediction is done using LSTM model on S&P BSE SENSEX Stock .

Primary LanguageJupyter Notebook

made-with-python

Stock Prediction using LSTM and Sentiment Analysis

Overview

LSTM Model is created to predict the closing prices of S&P BSE SENSEX.

Sentiment Analysis is done on Times of India News Headlines

Dataset

Historical data of S&P BSE SENSEX Stock is taken from Yahoo Finance.

india-news-headlines.csv is used for Sentiment Analysis.

LSTM Model

         

Prerequisites

  • Python 3
  • an IDE (preferably Google Colab)
  • Pandas
  • Numpy
  • Matplotlib
  • Sklearn
  • Keras
  • Tensorflow
  • NLTK

All the external dependencies can be installed by using pip install -r requirements.txt

Results

Stock Prediction

         

Sentiment Analysis

         

Demo

Please refer to the colab notebook here

Author

  • Rishikesh Sivakumar

ForTheBadge built-with-love by Rishikesh Sivakumar