Quote:
|
Originally Posted by scorpion
It's good that you have it made some trades so soon.
Your problem: It takes long time to modify the 5 trades, because you use the one same connection. It is a mechanism designed by me to avoid 'Too frequent requests' errors raised by the low-level api. MetaQuotes imposed a rule inside their api to limit 1 trade transaction per 5 to 10 seconds.
The only solution now is to spawn two or three more connections the same way you did in multiple instances. But you should aware that MetaQuotes also imposed a rule to limit the number of connections logged into the same account.
I hope API version 4 doesn't have these limiations. 
|
Thanks for the confirmation. I thought it might be something I was doing wrong in the code. I've had to resort to spawnging off console apps to do the dirty work for now. Do you have any idea as to when the next version of the api is to be released?