in my ATM setup I have 1 profit exit, and 1 stop loss exit. I need to somehow know when an entry trade has exited (ie trade closed) so that I can let the strategy set up the next trade.
I was thinking about using GetAtmStrategyStopTargetOrderStatus(), however according to the documentation, it would be hard to tell from this function whether the trade is 100% closed or partially closed, depending on the fill of the stop loss/target.
Can someone explain how to tell when an trade has closed 100% through the ATM functions ? Or is there another set of functions I should use ?
Comment