¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Handling Executions for expired options


 

I notice that when an option position expires, TWS will show a closing trade in the Trades window with 'EXPIRED' in the Action column.? I receive these Executions through the API without any indication that they are for option expirations.? Action is a property on the Order class not Execution.? But since IB initiated these orders, I have no record of them to tie to the execution using PermId.? Is there a best practice for handling these 'EXPIRED' type executions through the API?

Join [email protected] to automatically receive all group messages.