Open lorenzo1285 opened 2 years ago
RuntimeError Traceback (most recent call last) in () 5 purchase_date='04/01/2018', 6 num_of_shares=2, ----> 7 cost_per_share=7.2) 8 9 portfolio.add_stock(stock_aymbol='ELE',
2 frames /usr/local/lib/python3.7/dist-packages/investpy/stocks.py in get_stock_historical_data(stock, country, from_date, to_date, as_json, order, interval) 610 611 else: --> 612 raise RuntimeError("ERR#0004: data retrieval error while scraping.") 613 614 if as_json is True:
RuntimeError: ERR#0004: data retrieval error while scraping.
RuntimeError Traceback (most recent call last) in ()
5 purchase_date='04/01/2018',
6 num_of_shares=2,
----> 7 cost_per_share=7.2)
8
9 portfolio.add_stock(stock_aymbol='ELE',
2 frames /usr/local/lib/python3.7/dist-packages/investpy/stocks.py in get_stock_historical_data(stock, country, from_date, to_date, as_json, order, interval) 610 611 else: --> 612 raise RuntimeError("ERR#0004: data retrieval error while scraping.") 613 614 if as_json is True:
RuntimeError: ERR#0004: data retrieval error while scraping.