This web application allows users to receive notifications when the price of a given stock reaches a certain threshold. Users can specify the stock ticker symbol, the price threshold, the frequency at which the stock's price should be checked, and the type of notification they would like to receive.
Prerequisites Before you can use this application, you will need to install the following on your machine:
- Python 3
- Flask
- yfinance
- requests
To set up the application, follow these steps:
- provide your credentials for gmail and twilio
- follow the following instruction to get the gmail app password https://support.google.com/mail/answer/185833?hl=en-GB
- create account for twilio at https://www.twilio.com/ to get its credentials. It provides free trial.
pip install -r requirements.txt
flask run
To use the application, follow these steps:
-
Navigate to the application's home page through localhost.
-
Enter the stock ticker symbol, price threshold, frequency, and notification preferences in the form provided.
-
Enter submit.
If you encounter any issues while using the application, try the following troubleshooting steps:
-
Make sure that you have installed all of the required dependencies and set the appropriate environment variables.
-
Check the application's logs for any error messages that might help to identify the problem.
-
If the problem persists, please open an issue on the GitHub repository for the application.