A simple python script to monitor mortgage rates and alert based on threshold
- GMAIL_USER: Gmail account username or email address.
- GMAIL_PASS: Gmail account password for authentication.
- RECIPIENT: Email address of the recipient.
Any one of the following is required
- MIN_THRESHOLD: Threshold below when a notification has to be triggered.
- MAX_THRESHOLD: Threshold above when a notification has to be triggered.
Refer nerdwallet for options
- PRODUCT: Defaults to
30-year fixed-rate
- TYPE_OF_RATE: Defaults to
Interest rate
docker build -t mortgage .
docker run mortgage
0 8 * * * /usr/local/bin/docker run mortgage
⚠️ Scheduling it to run more than once a day is redundant and unnecessary, since results typically update daily
© Vignesh Rao
Licensed under the MIT License