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), 902 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
Is Automating Zorro With A Script Possible? #467232
07/21/17 14:40
07/21/17 14:40
Joined: Jul 2017
Posts: 8
A
Alphatecht Offline OP
Newbie
Alphatecht  Offline OP
Newbie
A

Joined: Jul 2017
Posts: 8
Hi. I am new to Zorro and very impressed when I learned how capable is the tool.

I have a question about automation.

In Zorro, testing/training a strategy can be done by writing a strategy script and clicking the Test or Train button.

Assume that I need to test many models (say 100) where I already generate a strategy script for each one seperately.

Is it possible to write a script in which I can **call** Zorro to run a backtest (without clikcing the Test button in main GUI)?

If yes, then I can write a script with a for loop, and at each iteration of the loop I can call Zorro to backtest my strategy and I can save the results to a file.

Re: Is Automating Zorro With A Script Possible? [Re: Alphatecht] #467237
07/21/17 15:33
07/21/17 15:33
Joined: Feb 2015
Posts: 652
Milano, Italy
M
MatPed Offline
User
MatPed  Offline
User
M

Joined: Feb 2015
Posts: 652
Milano, Italy
Ciao, not sure to have fully understood your question. You can pack 100 strategy in one script and train/test all together
See workshop 6 (If I remember correctly) in the manual.

Ciao

Re: Is Automating Zorro With A Script Possible? [Re: MatPed] #467239
07/21/17 16:21
07/21/17 16:21
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
You can use the command line to train/test your strategies, however it requires Zorro S I think
http://zorro-project.com/manual/en/command.htm

Re: Is Automating Zorro With A Script Possible? [Re: Dalla] #467251
07/22/17 17:42
07/22/17 17:42
Joined: Jul 2017
Posts: 8
A
Alphatecht Offline OP
Newbie
Alphatecht  Offline OP
Newbie
A

Joined: Jul 2017
Posts: 8
Calling Zorro from command line is the one that I was looking for

Thanks a lot

Re: Is Automating Zorro With A Script Possible? [Re: Alphatecht] #467253
07/23/17 07:16
07/23/17 07:16
Joined: Jun 2017
Posts: 78
B
BobbyT Offline
Junior Member
BobbyT  Offline
Junior Member
B

Joined: Jun 2017
Posts: 78
You can only set the asset flag when calling scripts through the command line while using Zorro F.

If you wish to send variables and whatnot via command line you want Zorro S.

Check out 'command' in the manual

Cheers,
BobbyT


Moderated by  Petra 

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