Nobody?
I really need to identify among all executions retrieved from execDetails (after a reqExecutions) which one come from an automatic operation, such as Exercised, Assigned, Expired option, or Liquidation after a margin call.
The words 'AUTOEXERCISE', 'ASSIGNED', or 'EXPIRED' that can be seen on the TradeLog are not found in any execDetails parameter.
And even though 'OCC' exchange is displayed on the Trade Log, execDetails retrieves 'SMART' instead, so filtering on exchange can't be used.
Josh, any idea? Please!