Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 1.15 KB

README.md

File metadata and controls

15 lines (10 loc) · 1.15 KB

StockNews

The goal of this practical project is to have a program that gives you informations about the price of your preferred stock. It checks yesterday's closing price, compares it with the day before. If the price goes up or drops by 5%, it notifies the user via SMS. The SMS

The SMS message looks like this:

TSLA: 🔺5.7%
Headline: Exclusive: Tesla delays initial production of Cybertruck to early 2023
Brief: SAN FRANCISCO, Jan 13 (Reuters) - Tesla Inc (TSLA.O) aims to start initial production of its much-anticipated Cybertruck by the end of the first quarter of 2023, pushing back its plan to begin production late this year, a person familiar with the matter told Reuters on Thursday.

If you want to use this code:

  • Change some variables: Change the environment variables accordingly.
  • API keys: Also don't forget to use your own API keys.
  • Pythonanywhere: You can automate this program to check the Stock prices every morning and send you an SMS say at 7 AM via pythonanywhere.