I am using following sequence in my automated startegy.
1. Entering Long
EnterLong(int quantity, string signalName)
2. Entering stop order
In OnExecution method, I am placing stop loss order
ExitLongStop(int quantity, double stopPrice, string signalName, string fromEntrySignal)
3. After predefined condition met, I am canceling stop order and placing new stop order (moving stop to break even)
4. after some predefined condition met, I am selling half of the postion
ExitLongLimit(int quantity, double limitPrice, string signalName, string fromEntrySignal)
5. OnExecution of ExitLongLimit order, I want to change/update stop order (which was placed by ExitLongStop) , I cancel old order and place new ExitLongStop with reduced quantity since I have already sold half of the position.
but Here after placing ExitLongStop order again, nothing happens.
I want to know, how can I update the stop order after selling half of the position.

Comment