Gamestudio Links
Zorro Links
Newest Posts
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
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
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
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (howardR, sleakz), 706 guests, and 3 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
Features of Zorro #479209
03/01/20 18:17
03/01/20 18:17
Joined: Mar 2020
Posts: 3
Prague
D
danielbencik Offline OP
Guest
danielbencik  Offline OP
Guest
D

Joined: Mar 2020
Posts: 3
Prague
Hello,

the Zorro project seems like the best thing that ever happenned to the retail trading community, honestly! I have two questions though:

1/ can I use Delta information (contracts sold/bought) in strategy testing in Zorro? Lets assume I have the Delta data and can export them to a format Zorro can read.
2/ can I use a non-fixed stop/profit size. Some people use something like stopLoss = x * f(volatility(1), volatility(2) ... ) - is it possible to have a formula for setings exits like this with 'x' being a parameter to optimize?

Best regards,
Daniel

Re: Features of Zorro [Re: danielbencik] #479216
03/02/20 17:49
03/02/20 17:49
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
1. I haven't worked with the options parts of Zorro myself, but you can find related functions here:
https://manual.zorro-project.com/contract.htm
and a small tutorial here:
https://zorro-project.com/manual/en/tutorial_options.htm

2. Another tutorial which shows (among other things) how to optimize a stop loss based on ATR.
https://manual.zorro-project.com/tutorial_var.htm

Last edited by Dalla; 03/02/20 17:50.
Re: Features of Zorro [Re: Dalla] #479218
03/02/20 21:59
03/02/20 21:59
Joined: Mar 2020
Posts: 3
Prague
D
danielbencik Offline OP
Guest
danielbencik  Offline OP
Guest
D

Joined: Mar 2020
Posts: 3
Prague
Hello Dalla,

thanks a lot for your answers. By Delta, I meant the market delta, i.e. the number of contracts executed on the bid vs on the offer during the bar's period. Can that be used in Zorro?

Best regards,
Daniel

Re: Features of Zorro [Re: danielbencik] #479219
03/03/20 11:02
03/03/20 11:02
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
You can build pretty much anything if it's not already implemented. If you have the data, I can't see why you wouldn't be able to implement it.

Re: Features of Zorro [Re: danielbencik] #479220
03/03/20 13:22
03/03/20 13:22
Joined: Mar 2020
Posts: 3
Prague
D
danielbencik Offline OP
Guest
danielbencik  Offline OP
Guest
D

Joined: Mar 2020
Posts: 3
Prague
Thank you.

Re: Features of Zorro [Re: danielbencik] #479228
03/04/20 08:27
03/04/20 08:27
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
Extra information such as the ask/bid delta can be stored in the fVal field of the T8 struct. You can then access it in the backtest through marketVal().


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1