Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
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 (degenerate_762, AndrewAMD), 877 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
Page 3 of 3 1 2 3
Re: Bug with option expirations [Re: jcl] #485135
01/26/22 18:19
01/26/22 18:19
Joined: Oct 2021
Posts: 10
Z
ztests Offline
Newbie
ztests  Offline
Newbie
Z

Joined: Oct 2021
Posts: 10
Originally Posted by jcl
When selected? With which parameters? Strikes? Which ExpiryTime?



it was already mentioned that those results were produced using the same script/input data, the trading time is provided in the example above and option type was always a call, underlying – always SPY, option maturity – always 42 days. You could trust me that the strikes were the same across both Zorro versions...

However, that information is just to provide you the context. My main question is – whether one could find more details how the above mentioned CONTRACT function optimizes the “distance” - selects “closest” options with respect to provided expiry life time and strike price so that one could replicate the results?

Re: Bug with option expirations [Re: Zheka] #485137
01/26/22 20:55
01/26/22 20:55
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
"Closest" means the options with shortest lifetime at or above your minimum days, and from these the option with the smallest strike difference to your strike parameter.

Re: Bug with option expirations [Re: jcl] #485148
01/27/22 15:37
01/27/22 15:37
Joined: Oct 2021
Posts: 10
Z
ztests Offline
Newbie
ztests  Offline
Newbie
Z

Joined: Oct 2021
Posts: 10
Originally Posted by jcl
"Closest" means the options with shortest lifetime at or above your minimum days, and from these the option with the smallest strike difference to your strike parameter.


OK - thank you!

Page 3 of 3 1 2 3

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