Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 14:19:29 +0000



Post From: Stoploss rejected in ACSIL auto trading system

[2020-08-01 16:04:02]
User820318 - Posts: 40
Following this thread... One way to do this would be to quantify the number of working orders and if it falls below 2 (i.e. one stop loss and one take profit) flatten the position. Is there a way in ACSIL to quantify the number of working orders?

I have found "PositionQuantityWithAllWorkingOrders" but it seems that wont work because the documentation says "In the case of when there are two orders in an OCO group, the quantity of only one of those orders is counted". Is there another mechanism to count the number of working orders?

Thanks in advance for your assistance.