Bat file for different accounts

Posted By: chsmac85

Bat file for different accounts - 12/07/18 14:34

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
Posted By: chsmac85

Re: Bat file for different accounts - 12/08/18 17:08

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
© 2024 lite-C Forums