Historical data for Nifty and BankNifty
-
Hello,
I have tried the following code to get Historical data for Nifty and Bank nifty. Can you please tell me what is the correct symboltoken for the same ?
# Historic api try: historicParam = { "exchange": "NSE", "symboltoken": "2", "interval": "FIVE_MINUTE", "fromdate": "2021-05-17 09:00", "todate": "2021-05-21 15:30" } candle = obj.getCandleData(historicParam) print(candle) except Exception as e: print("Historic Api failed: {}".format(e.message))
I have tried using both "2" and "26009" which I got from instruments list for Nifty 50 and bank nifty indices. However there is no output, only an empty array is returned.
Let me know what is the correct symbol token for NSE Nifty 50 and Bank nifty.
Thank you.
-
Hi @TurboExpert we are evaluating options for that we will keep you updated.
-
@admin thank you for the reply. Can you tell me from when will you support NSE indices historical data? Is there a planned release date?
-
Hi @TurboExpert currently we provide data for NSE equity only.