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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
18 2 3 4

How can I get the historical options greeks and implied volatility ?

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonhistoricalderivatives
icon clock
10 |1500

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

Upvotes
Accepted
39.2k 75 11 27

@jonabl
To retrieve price, implied volatility or greeks history for expired options the request needs to specify the range of dates that overlaps with the lifetime of the option. Try

ek.get_data(['IWME241915500.U^E19','HSI27800P9.HF^D19'],
           ['TR.CLOSEPRICE.date','TR.IMPLIEDVOLATILITY',
            'TR.DELTA','TR.GAMMA','TR.THETA','TR.RHO'],
           {'SDate':'20190415', 'EDate':'20190502'})

For US stock options greeks history is not available.

icon clock
10 |1500

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

Upvotes
9.7k 49 38 60

Hi @jonabl,

What asset/symbol are you trying to access? I would suggest to use the Data Item Browser to scan for the option fields of interest. Otherwise, you can submit your data-related question to my.refinitiv.com.

icon clock
10 |1500

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

Upvotes
18 2 3 4

Here is the RIC

IWME241915500.U

HSI27800P9.HF^D19


and here is the field

TR.IMPLIEDVOLATILITY

TR.DELTA

TR.GAMMA

TR.THETA

RHO

TR.EXCHANGEPROVIDEDIMPLIEDVOLATILITY

TR.OPWCloseDelta

TR.OPWCloseGamma

Thanks for your help !

icon clock
10 |1500

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

Upvotes
18k 21 12 20

Hi @jonabl

This is the code for the data fields and RICs you asked for.

import eikon as ek



ek.set_app_key('some_app_keys')



df,e = ek.get_data(['IWME241915500.U','HSI27800P9.HF^D19'],['TR.IMPLIEDVOLATILITY','TR.DELTA','TR.GAMMA','TR.THETA','RHO','TR.EXCHANGEPROVIDEDIMPLIEDVOLATILITY','TR.OPWCloseDelta','TR.OPWCloseGamma'])

However, I am not sure why the data is not available.


icon clock
10 |1500

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

Click below to post an Idea Post Idea