Just to wrap this up (since we are moving from an TWS API issue that applies to all 6000++ members to basic Python programming skills).
Shouldn't it be self.cancelOrder(orderId, OrderCancel()) instead of self.cancelOrder([orderId], OrderCancel()) ?
cancelOrder() defines orderId as an integer value and doesn't [orderId] make it a list of one integer value?
闯ü谤驳别苍
?
?
On Wed, Sep 11, 2024 at 10:44 AM, ds-avatar wrote:
toggle quoted message
Show quoted text
Yes, this should work.
--
Best,
DS