View Single Post
  #6 (permalink)  
Old 05-03-2005, 02:56 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

works a treat! One question though. I'm having a problem with spawning off multiple threads to kick off trades or even modify orders. The first command usually goes through pretty quickyl but the subsequent ones take qutie a few seconds and often result in too frequent requests exceptions.

I'm probably not explainign this very well.

I have written a function that will modify a position by putting the stop to entry. Say I have 5 open positions all onside with no stops. Inside a loop a spwan off 5 threads that place a stop at entry for each one. Why this all doesn't happen in under a second I don't know. However, if I have 5 seperate instances of my application, and modify the stops for each position in a seperate instance of the app, it works fine. Confusing ....
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