Can you help me? the course was outdated.
iexfinance has changed
BR.
If you are using iexfinance version 0.4.0 then you can change the code to following to get the historical data.
In [6]: from iexfinance.stocks import get_historical_data In [7]: get_historical_data("AAPL", output_format='pandas').head()
In case you are still facing the issue then share the error message and code with us to investigate further.
Thank you.