Manually Submitted TWS Orders

View as MarkdownOpen in Claude

EClient.reqAutoOpenOrders (

autoBind: bool. If set to true, the newly created orders will be assigned an API order ID and implicitly associated with this client. If set to false, future orders will not be.
)

Requests status updates about future orders placed from TWS. Can only be used with client ID 0.

Important: only those applications connecting with client Id 0 will be able to take over manually submitted orders

1self.reqAutoOpenOrders(True)