-
Notifications
You must be signed in to change notification settings - Fork 169
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
[Bug]: Unexpected Data API Endpoints #556
Comments
@kushalj1997 could you please confirm that supplied API key/secret is correct or not? The 403 Forbidden could happen with invalid API key/secret usually. I have got another error by calling the mentioned URL with my API key/secret which is specifying equity symbol (i.e. TSLA) to get options contracts data. |
yeah verified that my keys are correct by passing them into the API reference documentation page which allows sampling of the API requests |
It seems like the error changed from the one I originally posted to the one that you are getting, with not being able to parse "TSLA" as a valid symbol, so I think we have the same errors! Not sure what went wrong in the past couple of days to make the error literally change across the same lines of code.
sounds like the backend is broken - are you guys updating it as you work on multi-leg options? |
@kushalj1997 Could you please try to input Only the option chain API endpoint supports specifying equity symbol (i.e. |
Is there an existing issue for this?
Current Behavior
Hi,
I've installed alpaca-py 0.33.1 directly by cloning the repo and running
pip install -e .
so I can work with a developer copy if needed. I'm running into problems with theOptionHistoricalDataClient
.When I log into alpaca to generate keys, the API endpoint is
https://api.alpaca.markets
- the python API is using the wrong URL, and it seems to also point to the incorrect version of the API. Is the expectation to give up on the python API from alpaca and just use the requests based examples in the API reference page? If so, this repo should be updated to reflect.Expected Behavior
No response
SDK Version I encountered this issue in
alpaca-py version: 0.33.1
Steps To Reproduce
Filled out the Steps to Reproduce section?
Anything else?
No response
The text was updated successfully, but these errors were encountered: