need python code to fetch 15 minutes candle data for each nifty 50 symbol for first candle 9:15 to 9:30 OHLC, form kiteconect using python and store it in file . can any one help with the code ? or any reference?
Hi @evolutioncage , As Nifty 50 scrip change happens once in 6 month, so you can store current 50 stocks in python list and run for loop on above list and retrieve OHLC value for each scrip and store in db.Go through this documentation to fetch chart OHLC data for python client.
As Nifty 50 scrip change happens once in 6 month, so you can store current 50 stocks in python list and run for loop on above list and retrieve OHLC value for each scrip and store in db.Go through this documentation to fetch chart OHLC data for python client.
You can check out historical API python documentation. Note that you need an active historical API subscription to use it.