• Stars
    star
    254
  • Rank 160,264 (Top 4 %)
  • Language
    Python
  • Created almost 8 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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.