Gamestudio Links
Zorro Links
Newest Posts
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
Release 2.68 replacement of the .par format
by Martin_HH. 09/23/25 20:48
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (dBc), 17,435 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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: 311
Netherlands
G
Grant Offline
Senior Member
Grant  Offline
Senior Member
G

Joined: Aug 2017
Posts: 311
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,806
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

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