Gamestudio Links
Zorro Links
Newest Posts
Trailing on Ticks
by danatrader. 07/13/20 06:21
Misreading Monitor Resolution
by Dooley. 07/11/20 23:42
Help with Martingale Script
by Qw3rty. 07/11/20 12:17
Help with code
by Qw3rty. 07/11/20 12:03
Tick Volume
by danatrader. 07/11/20 06:43
FAC Train mode
by danatrader. 07/10/20 18:13
A9
by 3run. 07/09/20 19:13
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
5 registered members (AndrewAMD, danatrader, AdamWu, alibaba, MatPed), 383 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
dasanc, DavidFdez, TraderKevin, deus777, carolthesecond
18476 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: 26
T
tomaslolo Offline OP
Newbie
tomaslolo  Offline OP
Newbie
T

Joined: Feb 2018
Posts: 26
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,024
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,024
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