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 3 3 3

How to obtain expired equity options daily open interest and close prices via python api/ excel api?

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apichain-ricderivativesequities
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 @kenneth.fung

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


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

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
10.2k 18 6 9

@kenneth.fung You would need to know the expired option RICs and the time period they were active - but if you have those:

df, err = ek.get_data(['IWME241915500.U^E19','HSI27800P9.HF^D19'],['TR.CLOSEPRICE.date','TR.IMPLIEDVOLATILITY','TR.CLOSEPRICE','TR.OPENINTEREST',{'SDate':'20190415', 'EDate':'20190502'})

df


1601557365392.png (228.0 KiB)
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.