-
Notifications
You must be signed in to change notification settings - Fork 147
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
[FeatureRequest] Options Chain Data missing strike/expiration #515
Comments
@Brett55 thank you for the request. I have routed this feature request to related teams. |
In fact, the symbol name tells the attributes of the options. So, I would rather vote to add a helper function in SDK than adding payloads to the API. Here is the python snippet recently posted in the slack community. from datetime import datetime
s = "AAPL240906C00227500"
expiration_date = datetime(
year=2000 + int(s[-15:-13]),
month=int(s[-13:-11]),
day=int(s[-11:-9])
) |
Using other market data providers, they do add the strike and expiration as fields in the payload. These 2 fields are part of the options chain. I think its safer to use a regex if thats what we have to do.
|
Is there an existing issue for this?
Is your feature request related to a problem? Please describe.
The options chain data needs strike/expiration, otherwise I have to query a separate endpoint
Describe the solution you'd like.
include strike/expiration
Describe an alternate solution.
include strike/expiration
Anything else? (Additional Context)
No response
The text was updated successfully, but these errors were encountered: