nsepy
nsepy copied to clipboard
Unable to get data, empty dataframe returned
I get empty dataframe for any call to the service. Is it internally using yahoo finance or what is the method used? Or as it shows beautiful soup as a dependency, does it work by web scraping? But if its web scraping something must be returned right?
Did it resolve?
I get empty dataframe for any call to the service. Is it internally using yahoo finance or what is the method used? Or as it shows beautiful soup as a dependency, does it work by web scraping? But if its web scraping something must be returned right?
try restarting your system. it worked for me also i think nse is slow to respond till 12 am
i just downloaded and tried out. I"m also facing the same issue. Empty df for any date range i provide. and i'm looking at getting EQ tData = get_history(symbol='BPCL',start=date(2015,1,1),end=date(2015,1,10)) tData Empty DataFrame Columns: [Symbol, Series, Prev Close, Open, High, Low, Last, Close, VWAP, Volume, Turnover, Trades, Deliverable Volume, %Deliverble] Index: []
Just uninstall & re-install the nsepy. It resolved for me. But this issue happens everytime.
Thank you for your response. I've written a web scraper to do this for me now and it works.. Thanks for your efforts on nsepy though
On Tue, 30 Jun, 2020, 14:53 vish0511, [email protected] wrote:
Just uninstall & re-install the nsepy. It resolved for me. But this issue happens everytime.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/swapniljariwala/nsepy/issues/143#issuecomment-651674224, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAUJ5V5TAX4RMSGPGDTDY53RZGVI3ANCNFSM4NJV7QYA .
I get empty dataframe for any call to the service. Is it internally using yahoo finance or what is the method used? Or as it shows beautiful soup as a dependency, does it work by web scraping? But if its web scraping something must be returned right?
try restarting your system. it worked for me also i think nse is slow to respond till 12 am
While fetching index value you have to type index as True: nifty = get_history(symbol='NIFTY',start = date(2020,5,1), end = date(2020,5,20), index = True)
I get empty dataframe for any call to the service. Is it internally using yahoo finance or what is the method used? Or as it shows beautiful soup as a dependency, does it work by web scraping? But if its web scraping something must be returned right?
Yaa, it happens sometime, I'm using nsepy_API for past 2 years, sometimes I also get the blank dataframe, try updating all the library inside nsepy, your problem will resolve and yes web scraping is not the ultimate solution.