Inspiration

The inspiration was the Bloomberg terminal, recently I was exploring stocks and finance and that is when I came across Bloomberg, although I did not have the skills to develop a fully-fledged Bloomberg version, I did dumb it down and did what I could

What it does

The code asks for the stocks name listed in the market such as TSLA, and the company's name Tesla, the program then gets information about opening, closing, highest and lowest price from an api and calculates the difference and if there is a significant change, the program then gets 3 of the top articles in the news that includes the company's name, then with the help of twilio it sends a personalised message saying the stocks price has dipped or risen 'x' % and the message also incude the headlines, briefs and in some cases the link to the article.

How I built it

I used python to build, and few libraries such as requests for the API's, datetime library and twilio library

Challenges I ran into

It took me a while to read about the twilio api, stock news api and the price api, even after reading it, it took me a while to format the data as I required, after I had the structure down I feel like I tried including a lot of things and eventually burned out and went back to just the simple stuff.

Accomplishments that I'm proud of

I'm proud of how far I've come with python and from printing hello world to being able to code a simple Idea.

What I learned

api parameters, authorization, twillio

What's next for stock news

  1. As of now the the stocks name and company name have to be given as constant I would like to incorparate a user input through sms. 2.include a graph for the stock's prices. 3.would like stock alert to be able to predict the stocks price.

Built With

Share this project:

Updates