I tried wrapping in a try/catch and it doesn't work.
My strategy sometimes causes error "can't change stop price below market" when trying to move SL to breakeven.
I get the error popup window, but seems there's no way for my strategy to be aware of whether the ChangeOrder failed or succeeded.
Update: I have added an OnOrderUpdate where I try to catch the rejection and any errors.. But still doesn't work

Comment