👍 Working code to get Open,Close,High,Low,Ltp price.
-
Just put Your CLient ID, Password and API key in below code and enjoy.
-
I normally read the json in pandas and search there.. this works fine for me.. I download the instrument file every Friday before market open..
-
Is there any way to get the token code dynamically for Bank nifty option strikes
-
@sudhakar
No, You dont have to put all that stuff, Just put Client ID,Password and API key. -
Hi @sudhakar you can go to https://pypi.org/project/smartapi-python to know how to establish a connection.
-
do I need to give CLIENT_LOCAL_IP, CLIENT_PUBLIC_IP and all?