I am getting the below error while extracting stock data. It used to work fine few months ago. I am revisited this again few days ago and have tried different versions of this. But no luck.
File "C:\Users\sriju\Anaconda3\lib\site-packages\investpy\stocks.py", line 612, in get_stock_historical_data
raise RuntimeError("ERR#0004: data retrieval error while scraping.")
RuntimeError: ERR#0004: data retrieval error while scraping.
Hi Alvaro
I am getting the below error while extracting stock data. It used to work fine few months ago. I am revisited this again few days ago and have tried different versions of this. But no luck.
investpy.stocks.get_stock_historical_data(stock = 'RDSa', country = 'netherlands', from_date = '01/06/2021', to_date = '01/07/2021')
File "C:\Users\sriju\Anaconda3\lib\site-packages\investpy\stocks.py", line 612, in get_stock_historical_data raise RuntimeError("ERR#0004: data retrieval error while scraping.")
RuntimeError: ERR#0004: data retrieval error while scraping.
Thanks again for this amazing useful module.