开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: Updating a profit target order


 

When you make the order update call, does the original parent (entry) order still exist, or has that been filled by that time?

Take a look at the topic "10326 - OCA group revision is not allowed". Apparently, the bracket order update behavior changed and TWS 10.30 and TWS 10.32 will reject the update if the parent order is not open any longer, but the order your are trying to update still has the parentId field pointing there. If you cannot use a TWS/IBGW prior to 10.30, one suggestion was to set the parentId to 0 when you update it.

Just a guess.

闯ü谤驳别苍

?
?
?
On Wed, Nov 13, 2024 at 06:16 PM, IBmark wrote:

Hello!
?
I have been trying to fix something for the last few days but I failed. When the code attempts to update a target order belonging to a bracket order, It throws error 135. After logging I confirmed it tries to update the entry order instead of the profit taking order. Everything in the code seems fine.? ?
?
?

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