Gamestudio Links
Zorro Links
Newest Posts
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (EternallyCurious, AndrewAMD, TipmyPip, Quad), 889 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 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,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1