Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 0

How to pull historical dates for option quote chain data particularly in Henry Hub and WTI using Codebook? What would be the option quote chain for the date 12/30/2022?

I am trying to understand how to pull option quote chain data using code book. I am interested in pulling the quote chain as of historical dates, for example as of 12/30/2022 what the option quote chain is. I am particularly interested in Henry Hub and WTI. Can you please provide me with a example of how to do this?

#technologyapi#contentcodebook
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hello @Arcuss.Olofernes

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

Hi @Arcuss.Olofernes ,

Please be informed that a reply has been verified as correct in answering the question, and marked as such.

Thank you,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
5k 16 2 7

Hi @Arcuss.Olofernes ,


Thank you for your question. I am afraid as of now, you can't get the expired option chains data with Codebook using our Python Libraries. In order to get historical prices of expired options you would need to reconstruct the RICs following the RIC Rules. Please have a look at this article, where I provide some useful links and describe how to do the reconstruction for several exchanges by providing Python functions to do that.

Functions to find Option RICs traded on different exchanges | Devportal (lseg.com)


Best regards,

Haykaz

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.