Member-only story
Automated Daily Market Summary Alerts with Python: A Step-by-Step Guide
Generating an automated email alerts on market summary as on scheduled time.
In the dynamic trading world it is usually good practice to track the market summary before the start and end of the market.
Keeping the above goal it is cumbersome to check and review the market movement regularly.
Hence to automate this activity we have created and app which shall do this activity regularly.
Tools Used:-
Language:- Python
Server Used:- Heroku
IDE :- VSCode
During implementation We have found that this app can be broadly divided in into following tasks
i)Getting the data from NSDL
ii)Composing Email using dynamic content
iii)Triggering Email at regular interval
i)Getting the Data from NSDL
Package Used:-jugaad_data,
Install this package using the below command
pip install jugaad-data
Add the following code in the python file Here we are getting the index data from NSDL in a mentioned format
def get_all_indices():
n =…