Python script for sending whatsapp message with live sensex index value
Simple script to fetch index value from google finance URL with the help of web scraping and messaging it to whatsapp for specified number.
Feel free to modify script as per you needs.
Used Yahoo-Finance also to get open value of index for the day.
Messaging is restricted from 9AM to 4PM( Market hours).
Sleep is added for 3600 seconds i.e, 1 hour. You can modify as per your needs.
Conditions are hardcoded specific values, you can generalise as per your needs.