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 (TipmyPip), 17,605 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
Auto backtest for multiple Assets and variable values #470339
01/09/18 09:10
01/09/18 09:10
Joined: Dec 2016
Posts: 43
F
Fiber Offline OP
Newbie
Fiber  Offline OP
Newbie
F

Joined: Dec 2016
Posts: 43
Is there any way or ideas how to automate Zorro backtesting? For example I would like to run backtests on multiple Assets with selected few different values for 2 variables and to get performance report for each backtest. On one Zorro instance or on Multiple Zorro S.
Maybe by using multiple command lines ?

Last edited by Fiber; 01/09/18 09:12.
Re: Auto backtest for multiple Assets and variable values [Re: Fiber] #470340
01/09/18 11:07
01/09/18 11:07
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
I would say this is exactly what Zorros command line support is for
http://zorro-project.com/manual/en/command.htm

For example you could do something like this to run a test on two different assets changing two parameters between runs
Code:
"c:program filesZorroZorro.exe" -run myscript -a USD/CAD -i 1 -i 2
"c:program filesZorroZorro.exe" -run myscript -a USD/CAD -i 3 -i 4
"c:program filesZorroZorro.exe" -run myscript -a EUR/USD -i 1 -i 2
"c:program filesZorroZorro.exe" -run myscript -a EUR/USD -i 3 -i 4


Re: Auto backtest for multiple Assets and variable values [Re: Dalla] #470342
01/09/18 12:47
01/09/18 12:47
Joined: Dec 2016
Posts: 43
F
Fiber Offline OP
Newbie
Fiber  Offline OP
Newbie
F

Joined: Dec 2016
Posts: 43
Thanks Dalla for your answer.
I also added LogNumber = Command[2] and my numbers to command line to identify Log files and avoid overwriting.

Code:
"c:program filesZorroZorro.exe" -run myscript -a USD/CAD -i 1 -i 2 -i 1
"c:program filesZorroZorro.exe" -run myscript -a USD/CAD -i 3 -i 4 -i 2
"c:program filesZorroZorro.exe" -run myscript -a EUR/USD -i 1 -i 2 -i 1
"c:program filesZorroZorro.exe" -run myscript -a EUR/USD -i 3 -i 4 -i 2


Re: Auto backtest for multiple Assets and variable values [Re: Fiber] #470346
01/09/18 15:58
01/09/18 15:58
Joined: Jul 2000
Posts: 28,022
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,022
Frankfurt
An alternative method would be using NumTotalCycles.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1