about order modify

 

I have an EA that places limit orders according to the price level. So sometimes it is necessary modify them to adjust to the current price. Is there any difference between using the order modify or just cancelling the orders and replacing them again?

I know in the end both will do the same thing, but I mean in terms of efficiency for the EA, what would be the best way to modify pending orders, using order modify or just canceling them and placing them again?


 
paludo:

I have an EA that places limit orders according to the price level. So sometimes it is necessary modify them to adjust to the current price. Is there any difference between using the order modify or just cancelling the orders and replacing them again?

I know in the end both will do the same thing, but I mean in terms of efficiency for the EA, what would be the best way to modify pending orders, using order modify or just canceling them and placing them again?


I would go with modification because a cancellation and a new order are actually 2 new orders in terms of communications to the trade server.