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
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,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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