



Hello! This is a python program that is used for notifying Stock Trading News via SMS. I’ve referenced this from Angela’s 100 Days of Python Udemy Course. There are a few things that you will need to do in order to make this API work.
an Example of a Stock Trading News Section is right here. Let’s take Tesla for example:
What we want is a reproduction of this, but on an SMS.
The idea here is that we want to compare the closing prices of a certain company’s stock (In this case, it is Tesla) to the day before yesterday (y3) and yesterday (y2). If there is a difference in closing stock price, then depending on the situation, a news article will pop up in your SMS messanger (or in any phone number you specify it to).
You will need to import a few libraries like so to get this python applicaiton running.
The request library is used for getting data and information from external APIs, and also establish connections with.
You will also need to install the twilio rest library to connect python/your environment. The links for all the APIs:
Twilio: https://www.twilio.com
Alphavantage: https://www.alphavantage.co
News API: https://newsapi.org

Leave a Reply