Skip to content
Monitors a single or many Twitter Handle's tweets and if a company name is within their tweets, monitors the company's stock levels for the next week. Was originally the "TrumpStockMonitor"
Python
Branch: master
Clone or download
Latest commit 8984bac Oct 19, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Files Update companies Sep 24, 2017
README.md
company.py Removed error when GMT hours went into negatives Sep 29, 2017
main.py Add files via upload Aug 9, 2017
twitter.py Add files via upload Aug 9, 2017

README.md

TwitterStockMonitor

This project originally started when I noticed that if Trump mentioned a company within his tweets, their shares would either go up in price if the tweet was positive or drop if the tweet was negative. I decided to make a script to follow Trump and monitor the companies that he mentioned over a week, to see how the tweet affected the price of the company's shares. I have updated this to make it usable for multiple Twitter accounts at the same time.

Requirements

For this you will need:

  • Pinance
  • Tweepy
  • NLTK

These can be installed via:

pip install pinance
pip install tweepy
pip install nltk

Setup

  • You must first set up a Twitter APP

  • You need to set up an email and make sure that your account allows less secure apps

  • Input this data into the config file with your keys and email info like so:

Config setup

This is still being updated.

You can’t perform that action at this time.