Set `order.GoodTillDate`, configure it till end of day minus 1 second.
toggle quoted message
Show quoted text
On 29 Jan 2025, at 21:39, tarun.joshi via groups.io <tarun.joshi@...> wrote:
Hi,
Is there any option in the TWS application to automatically cancel all open orders (an event triggered automatically by the TWS application) when the client disconnects? Or is there a specific field we can set when sending orders via the TWS API to achieve this?
Thank you.