You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The Option Market Data API supports euro-style options but the Trading API does not. It's not (yet) a problem for us that trading in euro-style options isn't supported (we also need L3 which I understand is in the works) but we need the contract data for other things like algo development.
To Reproduce
Get an option chain for a euro-style option.
APIError: {"code":40410000,"message":"option contract XSP240513C00480000 not found"}
Expected behavior
Even if Alpaca doesn't support trading of euro-style options (yet), we still need the data in order to develop algos in anticipation of them being supported.
So either of:
TradingClient.get_option_contract and get_option_contracts calls should work when style is ExerciseStyle.EUROPEAN.
We need to have those functions in the OptionHistoricalDataClient too in order to provide data on options even if they can't be traded.
The text was updated successfully, but these errors were encountered:
Describe the bug
The Option Market Data API supports euro-style options but the Trading API does not. It's not (yet) a problem for us that trading in euro-style options isn't supported (we also need L3 which I understand is in the works) but we need the contract data for other things like algo development.
To Reproduce
Get an option chain for a euro-style option.
That works as expected, like:
Try to get the contract details for any of those symbols:
That fails like this:
Expected behavior
Even if Alpaca doesn't support trading of euro-style options (yet), we still need the data in order to develop algos in anticipation of them being supported.
So either of:
TradingClient.get_option_contract and get_option_contracts calls should work when style is ExerciseStyle.EUROPEAN.
We need to have those functions in the OptionHistoricalDataClient too in order to provide data on options even if they can't be traded.
The text was updated successfully, but these errors were encountered: