Gamestudio Links
Zorro Links
Newest Posts
Votes for future features
by 7th_zorro
Today at 01:57
Open WMB file
by Superku
Yesterday at 23:37
Stopping and resuming sessions without interrupting trade statis
by jcl
Yesterday at 08:14
Best Devlopment Experience
by j45p41
03/20/19 23:04
Blog Post: Continuous Futures Data in Zorro
by chsmac85
03/20/19 15:59
Error message : Closing Order Quantity
by OptimusPrime
03/20/19 12:49
script can work but no result(Profit and loss)
by jcl
03/20/19 09:12
AUM Magazine
Latest Screens
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Evonet Beta v1.0 : Online Project Development Template
Who's Online
3 registered (AndrewAMD, 7th_zorro, 1 invisible), 658 Guests and 8 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
FrankFred, QuartzLoop, Conchip, danatrader, ilikezorro
18190 Registered Users
Topic Options
Rate This Topic
#475427 - 12/07/18 15:34 Bat file for different accounts
chsmac85 Offline
Junior Member

Registered: 10/07/18
Posts: 50
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 Offline
Junior Member

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