Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,199 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
open/close option positions not in front contract. #471363
03/01/18 08:32
03/01/18 08:32
Joined: Feb 2018
Posts: 15
J
jzastrow Offline OP
Newbie
jzastrow  Offline OP
Newbie
J

Joined: Feb 2018
Posts: 15
When an option position is openend/closed in a contract expiring in a later contract than the next expiring one, is there always the correct price value used from the .t8 fUnl field?

The logs seem only to show the current price taken from the asset.

assetHistory("CHRIS/ICE_T4", FROM_QUANDL | UNADJUSTED);

Loading this data is not useful at all, even unadjusted.
Do I acutally need an asset history beside the t8?

Re: open/close option positions not in front contract. [Re: jzastrow] #471393
03/02/18 17:30
03/02/18 17:30
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Yes, an asset history is always needed, even when the unadjusted price is also stored in the t8 file.

Re: open/close option positions not in front contract. [Re: jcl] #471518
03/07/18 10:06
03/07/18 10:06
Joined: Feb 2018
Posts: 15
J
jzastrow Offline OP
Newbie
jzastrow  Offline OP
Newbie
J

Joined: Feb 2018
Posts: 15
I'm using t8 files with daily bars where the prices are calculated for the closing price only.

How can i create also virtual bars for high/low values during the day because e.g. ATM options change their prices a lot?

Split trading days in 4 bars (open, hi, low, close)?
But one needs to be careful not to create a strategy with a bias to that "fake" order.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1