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.
?
?
toggle quoted message
Show quoted text
From: [email protected] <[email protected] > On Behalf Of Andy Sanders via groups.ioSent: 19 December 2024 05:28To: [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.?
Are you sure you wish to delete this message from the message archives of
[email protected] ?
This cannot be undone.
Are you sure you wish to repost this message?