Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

same code as you share as a sample #8

Open
lorenzo1285 opened this issue Mar 29, 2022 · 0 comments
Open

same code as you share as a sample #8

lorenzo1285 opened this issue Mar 29, 2022 · 0 comments

Comments

@lorenzo1285
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant