开云体育

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

Client ID 7 creates an order, master client ID try to update or cancel the order


 

I can reproduce this, I wonder if it is a known bug?

According to IB, Only Master Client ID can update or cancel order clients’ orders

Scenario:
Master Client ID = 1 defined in TWS configuration.?
?
Client ID 7 creates the orderId = 2225.
Client ID 1 (master) try to update the order 2225. It encounters this error:

2024-05-22 18:49:15 - ibinsync.wrapper - ERROR - Error 135, reqId 2235: Can't find order with id = **_2234**

Where the orderId 2234 came from??? I verified the order id being sent is 2225
Could it be due to ib_insync gets confused processing cross clientId update (or cancel) operations?

?

Thank you,

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