This function seems to only be working for NIFTY and BANKNIFTY. However, the minute you try using it for stocks, it throws up errors. Once in a while, it works for a couple of stocks. Can someone help?
nsepythonserver library for once and let me know if problem persists.
I fetch all NFO stocks and calculate their OI in each 10 mins interval as you can see here https://unofficed.com/leverage/nse-stock-options/
But I use the server version. That works correctly as of now.