View Single Post
  #8 (permalink)  
Old 05-03-2005, 11:28 PM
sccz97 sccz97 is offline
Sophomore
 
Join Date: Apr 2005
Posts: 50
Thanks: 0
Thanked 1 Time in 1 Post
sccz97 is a jewel in the roughsccz97 is a jewel in the roughsccz97 is a jewel in the roughsccz97 is a jewel in the rough
Default

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?
Reply With Quote

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now

Main Menu

Economic Forecast