A stock tracking program that sends a SMS alert with relevant news
Features:
- Follows a stock and calculates the change in that stock
- Gathers relevant news data
- Sends out a SMS if stock threshold changes by a particular amount
- Can easily be changed for other stocks
- Can easily switch to SMTP mail if SMS is deemed unworthy (See bottom of
main.py
)
How to run:
- Download repository
- Create an account on Twilio, get your api key, account sid, phone numbers, and update
main.py
- Create an account on Alpha Vantage, get your api key and update
main.py
- Create an account on News API, get your api key and update
main.py
- Open downloaded repository with a command line interface
- run
pip install twilio
- run
python main.py
- Script will be run and message will be sent if stock change meets threshold.
- Update the threshold and company by editing
main.py
Stock Message Example: