Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Trading Journey
by howardR. 04/24/24 20:04
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, wandaluciaia, 1 invisible), 798 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Login info through strategy script? #480335
06/01/20 13:24
06/01/20 13:24
Joined: Feb 2018
Posts: 68
T
tomaslolo Offline OP
Junior Member
tomaslolo  Offline OP
Junior Member
T

Joined: Feb 2018
Posts: 68
Good morning / Guten Tag! I have several Zorro instances on a VPS trading with Oanda (real).

I configured Zorro to survive for server reboots, via .bat file as specified in the manual Zorro in the cloud https://www.zorro-trader.com/manual/en/vps.htm

My problem is that when rebooting all strategies run on the same account instead of keeping their "original" account. I mean, when you trade with Oanda you can add different subaccounts so yo can trade on them any strategy, on any pair, leverage, currency, etc... ant that account number is the Login "name" in Zorro control panel.

Can I set for each strategy an account number so when Zorro launches they trade on it?

Any other way?


Thank you!

Vielen Dank!

Gracias!

Re: Login info through strategy script? [Re: tomaslolo] #480336
06/01/20 13:29
06/01/20 13:29
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Since you're batching, you can set the account at the command line:
Quote
-c accountname
Selects the account with the given name from a user defined account list.
https://zorro-project.com/manual/en/command.htm


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