/Stock-price-prediction

Stock price prediction web application using LSTM and Sentiment Analysis of Tweets

Primary LanguagePython

Stock Market Prediction Web App based on Machine Learning and Sentiment Analysis of Tweets (API keys included in code).

File and Directory Structure

static - static files of flask app: css, images, js, etc.
templates - html files
Tweets.py - structure of Tweets for sentiment Analysis
constants.py - config file for app with Twitter API keys and other details
handlers.py - main machine learning module
app.py - the entrance point to the application

Technologies Used

  • Flask
  • Tensorflow
  • Keras
  • Alphavantage
  • Scikit-Learn
  • Tweepy
  • Python
  • CSS
  • HTML
  • Javascript

How to Install and Use

Python is required for the python packages to install correctly

  1. Clone the repo
  2. Go to command prompt, change directory to directory of repository and type Create a virtual environment and install python modules into it - pip install -r requirements.txt
  3. To run app, activate the environment and type in command prompt, python app.py