Skip to content

Deprecation Issue with IEX Cloud API Sandbox in Code Snippet #61

Description

@alphacipher1

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions