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
2 registered members (AndrewAMD, rki), 390 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Bat file for different accounts #475427
12/07/18 14:34
12/07/18 14:34
Joined: Oct 2018
Posts: 70
AZ
C
chsmac85 Offline OP
Junior Member
chsmac85  Offline OP
Junior Member
C

Joined: Oct 2018
Posts: 70
AZ
Hello,

I'm trying to build a .bat file as suggested in the manual at: https://zorro-trader.com/manual/en/vps.htm

I can get zorro to start multiple sessions, but I am not able to have it trade on different accounts. Here's what I have tried but neither works.

START Zorro.exe -broker OANDA1 -trade mystrategy -stay
START Zorro.exe -broker OANDA2 -trade mystrategy -stay

and

START Zorro.exe -account OANDA1 -trade mystrategy -stay
START Zorro.exe -account OANDA2 -trade mystrategy -stay

The goal is that if the VPS restarts and I'm not aware or nearby that the .bat file would start zorro back up immediately.

Once I get the different accounts set up. I'm wanting to test to see if the slider values are remembered. Can that be explicitly set here as well? e.g. -slider 5000

Re: Bat file for different accounts [Re: chsmac85] #475436
12/08/18 17:08
12/08/18 17:08
Joined: Oct 2018
Posts: 70
AZ
C
chsmac85 Offline OP
Junior Member
chsmac85  Offline OP
Junior Member
C

Joined: Oct 2018
Posts: 70
AZ
found my answer in the manual. I was looking in the wrong section. I needed to look in
https://zorro-project.com/manual/en/command.htm

START Zorro.exe -c OANDA1 -trade mystrategy -stay
START Zorro.exe -c OANDA2 -trade mystrategy -stay


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