Using the contract endpoint for options : Get Option Contracts
I only receive empty payloads when querying with the style parameter set to “european”.
Querying for “american” works fine.
Is this intended or are European options coming at a later point ?
Thanks
I’m having this problem too. I’ve got options approved and am working on integration for Lumibot. European options like SPX and XPS are the only way some folks will trade and it is clear that Alpaca currently only support American style.
But before we even get to trading euro-style options we need data for them to do backtesting. They do appear in the Market Data API so we can get_option_chain for them but I need the contract details and those are only available in the Trading API. I can imagine many fixes but I imagine the quickest would be to allow euro-style options in TradingClient.get_option_contracts and deal with the non-support aspect in the order placement process.
I’ve opened an issue for this on the Alpaca-API project: https://github.com/alpacahq/Alpaca-API/issues/253
Thanks,
Jim