¿ªÔÆÌåÓý

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

Re: Erroneous execution details (execDetails) being returned


 

You might want to re-read the TWS API Guide sections on and the class, Ryan. There are several cases where you would get multiple callbacks for a single order placed via the API. Here for example a sliver of the definition:

string? [get, set]
? The execution's identifier. Each partial fill has a separate ExecId. A correction is indicated by an ExecId which differs from a previous ExecId in only the digits after the final period, e.g. an ExecId ending in ".02" would be a correction of a previous execution with an ExecId ending in ".01".

The six ExecDetails you listed have unique ExecIds but they all end in ".01". That suggests that each ExecDetails describes an order fill:
  • complete order fills for 14101 and 14103
  • partial order fills for 14098 and 14100

Also, please observe that the six permIds are unique as well. That suggests that there were a total of 6 fills for 4 orders you places via the API. Have you cross checked the ExecDetails with the TWS Trade History window?

These ExecDetails by themselves and without more context (such as what the placed orders looked like and maybe order status updates) do not look erroneous or duplicate to me.

There may be more to the story, but does that make sense?

´³¨¹°ù²µ±ð²Ô

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