I wish to generate an alert in Pi for HDFCBANK with the following conditions.
Buy HDFCBANK at 1950
Sell HDFCBANK at 1900
Current market price of HDFCBANK is 1920.
Can someone please assist what would be the code for running this alert on Pi for the above criteria.