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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 2 3 1

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

eikoneikon-data-apipythonworkspacerefinitiv-dataplatform-eikonworkspace-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.

1 Answer

Upvotes
Accepted
7.6k 10 6 8

@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.