Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 10:35:41 +0000



Post From: Cancel attached order with sc.BuyExit()

[2014-04-17 20:12:49]
VF56002 - Posts: 27
problem seems to be solved by referencing order by ID ... sc.CancelOrder(StopLossOrderID) and sc.CancelOrder(ProfitTargetOrderID)
I expected setting sc.CancelAllWorkingOrdersOnExit = true in MANAGED mode will also do that job on BuyExit call but it does not seem to be so ...

Date Time Of Last Edit: 2014-04-17 20:15:47