-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
Description:
I encountered an issue related to the deprecated IEX Cloud API sandbox while trying to retrieve stock data using the code snippet in the tutorial. I would appreciate any help or guidance to resolve this problem.
Code Snippet:
symbol = 'AAPL'
api_url = f'https://sandbox.iexapis.com/stable/stock/{symbol}/quote?token={IEX_CLOUD_API_TOKEN}'
data = requests.get(api_url).json()
print(data)
Results in a JSONDecodeError.
Problem:
The sandbox environment that the code relies on for retrieving stock data is deprecated and no longer functioning. As a result, I am unable to retrieve the necessary data for further analysis.
An attempt to using a different financial data provider would lead to a major dissonance between the code in the tutorial/repository and the one I will be working on.