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

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

Open
alphacipher1 opened this issue Jun 27, 2023 · 6 comments
Open

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

alphacipher1 opened this issue Jun 27, 2023 · 6 comments

Comments

@alphacipher1
Copy link

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.

@syedr-prog
Copy link

syedr-prog commented Jul 20, 2023

I am getting the same error. You could sign up for their trial but its not working anymore. I am also getting 403

@joethesaint
Copy link

I am currently stuck in this issue, seeing if there is a workaround still by using the same data provider. And @nickmccullum stated it is a sandbox so it shouldn't involve a free trial, still doubting.

@VardhanHegde
Copy link

Same issue for me, status code 403, can someone help ?

@joethesaint
Copy link

I can help with that. I've gotten a workaround. I would upload and tag it here so you can use it to finish the work.

@VardhanHegde
Copy link

I can help with that. I've gotten a workaround. I would upload and tag it here so you can use it to finish the work.

Thanks man , 🤝

@joethesaint
Copy link

Hello @VardhanHegde

Sorry it took a while but here is the link to my starter_files/001_equal_weight_S&P_500.ipynb. You can read through it. Although I am yet to clean it as much because I wanted to also show that I had to try out other API provider and finally got to stick with Financial Modeling Prep (FMP).

Although, I am yet to do the other two, with time, I should finish going through it.

Python_of_Algorithmic_Trading/starter_files/001_equal_weight_S&P_500.ipynb

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

4 participants