Paralelism, EA on many accounts on multi cores

Back to topics list  | 1 2 To post a new topic, please log in or register
avatar
56
ssn 2015.06.28 20:21 #
 
I have an account that's trading two symbols via EA with an EA attached to a chart for each symbol.

Is there a way to programmatically assign each EA instance to a particulate cpu core if for instance I have a duo core system?
avatar
313
JD4 2015.06.28 21:13 #
 

The thing to consider is while running each of the terminal setups is possible, each additional instance will use more and more of your computer's resources to do.  That could affect system performance if you get enough copies running at the same time.  Another possible solution some people work with is what is called a VPS (virtual private server) and run one EA on each instance they have.  If you are just trying to test, there is also also optimization testing available, although I am not sure if it is only available through MT5/MQL5 or just 4 or both.  There is a cost to this but it can help out with the optimization a lot quicker than just running it on your system.


Edit: I don't remember if it was on 4 or 5's forum, but there was a discussion there about how many of all of the different things that could be used, like how many charts maximum, etc.  Not sure what all of the parameters were, but a few of the things that I remember from that (and other sources) is the most charts you could have open at once was something like 100 on one running program of the trading platform, and the most EAs you could have per chart was 1.  You can subscribe to lots of signals, but I do not remember if they said you could only have 1 active at a time per account.

avatar
484
ydrol 2015.06.29 03:29 #
 
EAs run in thier own thread. And concurrent threads will usually take advantage of multi-core.. however an old post here suggest the trading functions are single threaded, but a lot can happen in 5 years.  Also see here. However for live trading , I suspect your EA should be OK unless its chewing through a ton of data with every tick, in which case - it could probably be made more efficient.
avatar
56
ssn 2015.06.29 16:32 #
 
ydrol:
EAs run in thier own thread. And concurrent threads will usually take advantage of multi-core.. however an old post here suggest the trading functions are single threaded, but a lot can happen in 5 years.  Also see here. However for live trading , I suspect your EA should be OK unless its chewing through a ton of data with every tick, in which case - it could probably be made more efficient.

Thanks


avatar
56
ssn 2015.06.29 16:33 #
 
JD4:

The thing to consider is while running each of the terminal setups is possible, each additional instance will use more and more of your computer's resources to do.  That could affect system performance if you get enough copies running at the same time.  Another possible solution some people work with is what is called a VPS (virtual private server) and run one EA on each instance they have.  If you are just trying to test, there is also also optimization testing available, although I am not sure if it is only available through MT5/MQL5 or just 4 or both.  There is a cost to this but it can help out with the optimization a lot quicker than just running it on your system.


Edit: I don't remember if it was on 4 or 5's forum, but there was a discussion there about how many of all of the different things that could be used, like how many charts maximum, etc.  Not sure what all of the parameters were, but a few of the things that I remember from that (and other sources) is the most charts you could have open at once was something like 100 on one running program of the trading platform, and the most EAs you could have per chart was 1.  You can subscribe to lots of signals, but I do not remember if they said you could only have 1 active at a time per account.


Was already using VPS


Back to topics list   | 1 2  

To add comments, please log in or register