Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
M1 Oversampling
by 11honza11. 04/20/24 20:57
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Quad), 454 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
Running both Z1 and Z2 together #412599
11/29/12 18:28
11/29/12 18:28
Joined: Nov 2012
Posts: 7
Panama
AlbinaGrande Offline OP
Newbie
AlbinaGrande  Offline OP
Newbie

Joined: Nov 2012
Posts: 7
Panama
I am up and running Z2 on my VPS in Demo mode for 2 days, and all is well. If I understand the manual correctly, Z1 is a Trending Strategy and Z2 is a Counter Trending Strategy. The results examples in the Manual suggest that both can be run simultaneously on the same account. If so, how to do it because the drop down list does not have a choice for both together. Can I run 2 instances of Zorro on the same account to achieve this, or is there some step that I am missing?

Re: Running both Z1 and Z2 together [Re: AlbinaGrande] #412778
12/03/12 08:55
12/03/12 08:55
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
Running two instances on the same PC is not supported by the FXCM API. But we have found that it works here. We're running many instances under Win 7 on the same PC.

It didn't work for one other user, though - possibly it's related to the OS. If it doesn't work on your PC, either run the second instance on a second PC, or on a virtual PC using VMWare or similar software.

Re: Running both Z1 and Z2 together [Re: jcl] #412820
12/03/12 18:12
12/03/12 18:12
Joined: Nov 2012
Posts: 7
Panama
AlbinaGrande Offline OP
Newbie
AlbinaGrande  Offline OP
Newbie

Joined: Nov 2012
Posts: 7
Panama
Thanks. I have both Z1 and Z2 up and running on the same Demo account on my Windows 7 based VPS. So far no conflicts and both CPU and RAM usage are under 50% which at times has been a limiting factor for me.

Re: Running both Z1 and Z2 together [Re: AlbinaGrande] #420834
04/04/13 12:52
04/04/13 12:52

A
acidburn
Unregistered
acidburn
Unregistered
A



I tried trading Z1fx & Z2fx simultaneously with two Zorro instances on the same account, but it definitely doesn't work because I get Error 052: Broker interface busy when trying to start trading in the 2nd instance. Tested and can confirm this happens with both old & new (just released) FXCM.dll

I also have a lockup of the 2nd Zorro instance when doing WFA in it, while the first one is trading. It runs upto 6: 0482 (or so) and then freezes (stops responding). Have to kill it. And it is repeatable, always locks up at the same counter.

Re: Running both Z1 and Z2 together [Re: ] #420842
04/04/13 14:53
04/04/13 14:53
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
Trading several scripts at the same time is supported meanwhile by the multi-instance broker interface of Zorro S. The free version only has a single instance interface because you can not use it anyway for trading several scripts. You have to select one script.

However you can certainly trade with one Zorro and run a WFA on another Zorro. Maybe the problem is related to the script that you're running? Can you try this with a script from the tutorial and let me know if you then still have that problem? Do you see a message of any kind or does it just stop? And how much free RAM do you have on your PC?

Re: Running both Z1 and Z2 together [Re: jcl] #420843
04/04/13 15:30
04/04/13 15:30

A
acidburn
Unregistered
acidburn
Unregistered
A



2GB virtual Win7. But, it's not memory exhaustion, I fired up Task manager as soon as I got the first freeze, and later confirmed that memory usage never goes above 600MB, with 2 instances running. Scripts that I ran are Z1fx & Z2fx, I believe that I tried both combinations (aka Z1fx Trading, Z2fx Test and vice versa) and in both cases I finished with one Zorro frozen (the one that run WFA).

No extra messages, the window just freezes in the middle of the WFA run, it has "WFA Zorro... (Not Resp...)" in title, and when I try to close it, Windows popup comes up telling me that application is not responding, offering to kill it. Also it is not CPU bound when frozen, just plain not responding...

Just to make it clear, this is not a showstopper for me, I'll run WFA in another VM, no problem. I reported this just so that you know there's something fishy goin' on when running 2 instances.

Re: Running both Z1 and Z2 together [Re: ] #420848
04/04/13 16:05
04/04/13 16:05
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
Ok, I can currently not directly reproduce the problem here, but have an idea what might have caused it. We'll look into it. Thanks for reporting!

Re: Running both Z1 and Z2 together [Re: jcl] #420852
04/04/13 18:17
04/04/13 18:17

A
acidburn
Unregistered
acidburn
Unregistered
A



Nice to see that you care. Here's a small screencast that might help.

http://www.screencast.com/t/CUpyUiJ18

Yeah, I lied blush, 600MB is with one instance, 2 instances are closer to 1GB RAM usage. But, still no problem for a 2GB VM.

Re: Running both Z1 and Z2 together [Re: ] #420878
04/05/13 12:24
04/05/13 12:24
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
I just got notice that the problem has been found - it happened when two instances wrote in a log file at the same time. This will be fixed in the next update.

Re: Running both Z1 and Z2 together [Re: ] #421298
04/15/13 09:46
04/15/13 09:46

A
acidburn
Unregistered
acidburn
Unregistered
A



Originally Posted By: acidburn
Just to make it clear, this is not a showstopper for me, I'll run WFA in another VM, no problem. I reported this just so that you know there's something fishy goin' on when running 2 instances.


Actually, this problem has now become showstopper for me. I'm now demoing both Z1fx & Z2fx 24/7, have read the manuals & tutorials in the meantime, and would like to write and test my own scripts now. But, having only 2 VM's, it would mean stopping one of the strategies running, which would be a shame.

Do you have an ETA for the next update? Is the bug fixed in the beta version? If it is, may I join the beta program?

Page 1 of 3 1 2 3

Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1