In python for trading course, sec 4 unit 14, it is necesary to use the get_historical_data() method from iexfiance but, it seems that iexfinance needs authentication, I get the following error message:
IEXAuthenticationError: The IEX Cloud API key must be provided either through the token variable or through the environmental variable IEX_TOKEN.
Please provide authentication for this unit. Thank you
You need to get the API key to import data from iexfinance. To get your personal API key, sign up for a free IEX account. Then, you can find your API key on API Tokens section.
You can also use a different data source to get daily data such as Quandl or yahoo finance.