I think I have worked it out now.. I believe that I have been looking at the purpose of orderModify with a backwards approach (Not the way its intended).
Are you trying to modify an opened position? In that case, the Price and Price1 values must be the closing prices of the orders you are trying to modify and are obtained with the OrderClosePrice () function.
Hello,
I think I have worked it out now.. I believe that I have been looking at the purpose of orderModify with a backwards approach (Not the way its intended).
Thank you, everybody.
Are you trying to modify an opened position? In that case, the Price and Price1 values must be the closing prices of the orders you are trying to modify and are obtained with the OrderClosePrice () function.