nickmccullum / algorithmic-trading-python

The repository for freeCodeCamp's YouTube course, Algorithmic Trading in Python
2.46k stars 2.44k forks source link

Batch API call URL: Production tokens can't be used in Sandbox. #20

Open JerrJose opened 2 years ago

JerrJose commented 2 years ago

I printed clicked the link for the Batch API call URL variable and it says the following: 'Production tokens cannot be used in the sandbox environment. Please use https://cloud.iexapis.com'

JerrJose commented 2 years ago

On second thought, It seems I wasn't using the sandbox secrets IEX Token provided by the tutorial in the first half of the tutorial. That might have screwed things up for the second half.