Download MetaTrader 5

Order execution time

To add comments, please log in or register
What is the best place to find a programmer? Freelance service!
steph0890
12
steph0890 2015.03.19 19:10 

Good evening everyone.

Do you know the cause of time execution varation :

On a real account with a VPS the average time for sending an order is about 25ms.

order #XXXXXXXXX sell 0.09 / 0.09 EURJPY at 131.423 done in 25 ms

But sometimes a there is some huges execution time :(

order #XXXXXXXXX buy 0.09 / 0.09 USDJPY at 120.945 done in 3057 ms

Do you know why ?

(server ? , volatility ?)

Thank you so much, steph.

Alain Verleyen
Moderator
30752
Alain Verleyen 2015.03.19 20:29  
Connection issue or server too busy.
steph0890
12
steph0890 2015.03.19 20:45  

OK, thank you ! :)

Found a solution, this can be flitered with deviation ? ( ex : request.deviation=1)

But a little question :

if I make a new ordersendasync, if the deviation>1 does it return false and the order is not executed ?

return ( OrderSendAsync ( ... deviation=1 ) );


Thank you :):)

Alain Verleyen
Moderator
30752
Alain Verleyen 2015.03.19 21:42  
steph0890:

OK, thank you ! :)

Found a solution, this can be flitered with deviation ? ( ex : request.deviation=1)

But a little question :

if I make a new ordersendasync, if the deviation>1 does it return false and the order is not executed ?

return ( OrderSendAsync ( ... deviation=1 ) );


Thank you :):)

Try it and keep us posted ;-)
steph0890
12
steph0890 2015.03.19 22:18  
Im testing it, waiting for opportnuities, tell you ;)
To add comments, please log in or register