Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
An alternative method would be using NumTotalCycles.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1