Gamestudio Links
Zorro Links
Newest Posts
IBKR datasave problem
by NewbieZorro. 06/11/25 15:11
Marking Exit trades
by jcl. 06/11/25 14:02
SGT_FW
by Aku_Aku. 06/02/25 17:54
The Perfect Adventure Game
by tian. 05/27/25 04:32
ADX values
by Yogpot. 05/25/25 15:11
Transfer of Lots between Algos?
by Jack_Zodiac. 05/25/25 09:30
AUM Magazine
Latest Screens
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Zeal-X2
Who's Online Now
0 registered members (), 357 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
WardyJoubertIII, NewbieZorro, Squarei, tian, Yogpot
19139 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Zorro Commandline Issues #488653
03/12/25 14:45
03/12/25 14:45
Joined: Nov 2015
Posts: 11
R
ricky_k Offline OP
Newbie
ricky_k  Offline OP
Newbie
R

Joined: Nov 2015
Posts: 11
Trying to run automated testing/training in Zorro by utilizing the command line in the form of batch files which have the following general outline:

Code

@echo off
cd /d "C:\Users\...\Documents\Zorro_2643"

Zorro.exe -run <script_name>.c -a EUR/USD -c AssetsCur.csv
Zorro.exe -run <script_name>.c -a GBP/USD -c AssetsCur.csv
Zorro.exe -run <script_name>.c -a USD/CAD -c AssetsCur.csv
Zorro.exe -run <script_name>.c -a USD/CHF -c AssetsCur.csv
Zorro.exe -run <script_name>.c -a USD/JPY -c AssetsCur.csv
Zorro.exe -run <script_name>.c -a AUD/CAD -c AssetsCur.csv
Zorro.exe -run <script_name>.c -a AUD/CHF -c AssetsCur.csv
Zorro.exe -run <script_name>.c -a AUD/JPY -c AssetsCur.csv
Zorro.exe -run <script_name>.c -a AUD/NZD -c AssetsCur.csv
Zorro.exe -run <script_name>.c -a CAD/CHF -c AssetsCur.csv
Zorro.exe -run <script_name>.c -a CAD/JPY -c AssetsCur.csv
Zorro.exe -run <script_name>.c -a CHF/JPY -c AssetsCur.csv
Zorro.exe -run <script_name>.c -a EUR/AUD -c AssetsCur.csv
Zorro.exe -run <script_name>.c -a EUR/CAD -c AssetsCur.csv
Zorro.exe -run <script_name>.c -a EUR/CHF -c AssetsCur.csv
Zorro.exe -run <script_name>.c -a EUR/GBP -c AssetsCur.csv
Zorro.exe -run <script_name>.c -a EUR/JPY -c AssetsCur.csv
Zorro.exe -run <script_name>.c -a EUR/NZD -c AssetsCur.csv
Zorro.exe -run <script_name>.c -a GBP/AUD -c AssetsCur.csv
Zorro.exe -run <script_name>.c -a GBP/CAD -c AssetsCur.csv
Zorro.exe -run <script_name>.c -a GBP/CHF -c AssetsCur.csv
Zorro.exe -run <script_name>.c -a GBP/JPY -c AssetsCur.csv
Zorro.exe -run <script_name>.c -a GBP/NZD -c AssetsCur.csv
Zorro.exe -run <script_name>.c -a NZD/CAD -c AssetsCur.csv
Zorro.exe -run <script_name>.c -a NZD/CHF -c AssetsCur.csv
Zorro.exe -run <script_name>.c -a NZD/JPY -c AssetsCur.csv
Zorro.exe -run <script_name>.c -a NZD/USD -c AssetsCur.csv




The issue is Zorro seems to stop at the Asset "USD/JPY" and keep executing the script on "USD/JPY" while the other instruments ("AUD/CAD" down to "NZD/USD") are not tested/trained.

Grateful to hear if anyone has had this issue and has any suggestions to resolve.

[Using ZorroS 2.64.3 on Windows 10 Pro]

Re: Zorro Commandline Issues [Re: ricky_k] #488654
03/12/25 17:24
03/12/25 17:24
Joined: Aug 2017
Posts: 310
Netherlands
G
Grant Offline
Senior Member
Grant  Offline
Senior Member
G

Joined: Aug 2017
Posts: 310
Netherlands
Use the '-diag' option and check the diag.txt log file for error messages.

Re: Zorro Commandline Issues [Re: ricky_k] #488655
03/13/25 12:43
03/13/25 12:43
Joined: Feb 2017
Posts: 1,790
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,790
Chicago
Manual says:
Quote
-c accountname
Selects the account with the given name from a user defined account list.
It looks like you're selecting asset lists with -c, which is wrong. An asset list and an account name are two different things. I bet it's using AssetsFix.csv instead.

Command line documentation:
https://zorro-project.com/manual/en/command.htm

Account list documentation:
https://zorro-project.com/manual/en/account.htm


Moderated by  Petra 

Gamestudio download | 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