Alon D :
Calling positionClose from the CTrade class doesn't trigger the onTradeTransaction event.
Is there a different way I should close a position?
There are two reasons: 1. The position was not closed (for example, a requote was received) 2. You do not know how to handle OnTradeTransaction.
Calling positionClose from the CTrade class doesn't trigger the onTradeTransaction event.
Is there a different way I should close a position?