开云体育

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

Re: Entry that triggers OCO with TP and SL


 

开云体育

This is not correct: all three orders must have unique order ids. But the TP and SL orders must have “ParentId” set to the “OrderId” of the main order.

?

?

From: [email protected] <[email protected]> On Behalf Of Andy Sanders via groups.io
Sent: 19 December 2024 05:28
To: [email protected]
Subject: Re: [TWS API] Entry that triggers OCO with TP and SL

?

Create 3 separate orders.

TP and SL orders will have property "OrderId" that should be the same as the main order ID.?

The first two orders will have property "Transmit" set to false, the last one is true.?

?

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