Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (SBGuy, Quad), 768 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 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,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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