Predicting closing prices of stock using Tensorflow and sentiment analysis using tweety and textblob
- Asks the user for a stock quote from NASDAQ (eg: AAPL, FB, GOOGL)
- Uses Tweepy to retrieve tweets about that stock.
- Uses TextBlob to determine if the majority of the tweets are positive using sentiment analisys.
- If the last is True, downloads the last year of prices for that stock, and trains a neural net with that data to predict the price for tomorrow.
- numpy (http://www.numpy.org/)
- tweepy (http://www.tweepy.org/)
- textblob (https://textblob.readthedocs.io/en/dev/)
- requests(http://docs.python-requests.org/en/master/)
- keras(https://keras.io/) Runs with TensorFlow or Theano, so you will need one of them.
Before you go and run the code, Install all dependencies.
Make an application on twitter dev page and get your keys for authentication.