Increasing the lot size for a pending order

 
Hello,

Which function can be used to increase the lot size of a pending order?
The OrderModify() function does not allow to modify the quantity.
Does one have to close the current order and place a new one with the new quantity?

Best regards,
Levente
 
No. You must delete previous pending order and open new one with needed amount of lots.