Skip to content

Latest commit

Β 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ˆ Stock Alert Notifier

This Python script tracks the daily stock price of a company (default: Tesla Inc.) and sends email alerts with the latest news headlines if a significant price movement (more than 5%) is detected between two recent trading days.


πŸš€ Features

  • βœ… Tracks stock prices using the Alpha Vantage API
  • πŸ“° Fetches the latest news headlines via NewsAPI
  • πŸ“§ Sends automatic email notifications using Gmail SMTP
  • πŸ” Secure credential storage using .env
  • βš™οΈ Easy to configure and customize

πŸ“¦ Requirements


πŸ› οΈ Installation

  1. Clone the repository
  2. Install dependencies
  3. Create a .env file
  4. Run the script

πŸ§ͺ Technologies Used

  • Python
  • Alpha Vantage API
  • NewsAPI
  • smtplib / email.mime
  • python-dotenv

πŸ“Œ Customization

  • Change the stock symbol by editing STOCK_NAME
  • Adjust percentage threshold if needed (> 5 in if statement)
  • You can track multiple stocks by looping over a list of symbols

⚠️ Disclaimer

  • This project is for educational and informational purposes only. It does not constitute financial advice.

License

  • MIT License

Contact

About

A Python script that monitors daily stock price changes and sends email alerts with top news headlines if significant movement is detected.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages