so after my target is filled, I call :
string[,] orders = GetAtmStrategyStopTargetOrderStatus("TARGET1", "idValue");
I am trying to find out if the order has filled with a target, so I am calling the above function to get the multidimensional array return value that I can iterate through and check for an OrderState value.
However, when I call the function, if the order has already reached it's target I get an error in the Console Log saying :
GetAtmStrategyStopTargetOrderStatus() method error : AtmStrategyID '5878' does not exist or is already in terminated state. (note id 5878 is an id value I assigned my atm strategy).
So basically it seems there's no way to check if an ATM strategy has reached its TARGET1, since when it reaches the target, you can no longer use GetAtmStrategyStopTargetOrderStatus() to check for a Filled status on the TARGET1 ?
Please, I need a real developer to answer this question, not just a reply to a link to the documentation, which I've read several times over and is severely lacking in detail.
thanks,
jose mera

Comment