Gamestudio Links
Zorro Links
Newest Posts
New Zorro v1.99.2
by jcl
46 minutes 0 seconds ago
Strategy Development
by AndrewAMD
59 minutes 37 seconds ago
closing profitable trades (stop)
by MINER
Today at 12:47
Next contest?
by jcl
Yesterday at 15:44
advance decline (ADO) code examples?
by 3dgamelight
12/09/18 19:52
Newbie coding question. HELP Please!
by 3dgamelight
12/09/18 16:28
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14
12/08/18 19:10
AUM Magazine
Latest Screens
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Evonet Beta v1.0 : Online Project Development Template
Lake scene
Who's Online
19 registered (alibaba, ags, Artvin, AndrewAMD, chsmac85, 20BN, CocaCola, Ayumi, 5 invisible), 477 Guests and 12 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
mahomed, bondz, Neil_G, bobby4h, MutilatedDuck
18117 Registered Users
Topic Options
Rate This Topic
#475427 - 12/07/18 15:34 Bat file for different accounts
chsmac85 Online
Newbie

Registered: 10/07/18
Posts: 31
Loc: 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

Top
#475436 - 12/08/18 18:08 Re: Bat file for different accounts [Re: chsmac85]
chsmac85 Online
Newbie

Registered: 10/07/18
Posts: 31
Loc: 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

Top



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

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