algorithmic-trading-python icon indicating copy to clipboard operation
algorithmic-trading-python copied to clipboard

Deprecation Issue with IEX Cloud API Sandbox in Code Snippet

Open alphacipher1 opened this issue 1 year ago • 6 comments

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.

alphacipher1 avatar Jun 27 '23 19:06 alphacipher1

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

syedr-prog avatar Jul 20 '23 21:07 syedr-prog

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.

joethesaint avatar Jun 27 '24 15:06 joethesaint

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

VardhanHegde avatar Jul 13 '24 03:07 VardhanHegde

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.

joethesaint avatar Jul 13 '24 10:07 joethesaint

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 , 🤝

VardhanHegde avatar Jul 13 '24 11:07 VardhanHegde