Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/semaaJ/TwitterStockMonitor
https://github.com/semaaJ/TwitterStockMonitor
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/semaaJ/TwitterStockMonitor
- Owner: semaaJ
- Created: 2017-01-12T20:55:03.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-07-03T22:00:39.000Z (over 2 years ago)
- Last Synced: 2024-08-01T06:21:42.761Z (3 months ago)
- Language: Python
- Homepage:
- Size: 418 KB
- Stars: 255
- Watchers: 18
- Forks: 38
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
- NLTKThese can be installed via:
```
pip install pinance
pip install tweepy
pip install nltk
```## Setup
- You must first set up a [Twitter APP](https://themepacific.com/how-to-generate-api-key-consumer-token-access-key-for-twitter-oauth/994/)- You need to set up an email and make sure that your account allows [less secure apps](https://support.google.com/accounts/answer/6010255?hl=en)
- Input this data into the config file with your keys and email info like so:![Config setup](http://i.imgur.com/TBxSICC.png "")
This is still being updated.