Hello I am wondering if it is possible to convert a stock/etf RIC into the corresponding at the money implied volatility RIC.
the following code will not provide an answer:
df,e = ek.get_data('ASML.AS',
['TR.30DAYATTHEMONEYIMPLIEDVOLATILITYINDEXFORPUTOPTIONS.Date',
'TR.30DAYATTHEMONEYIMPLIEDVOLATILITYINDEXFORPUTOPTIONS'
],
{'SDate':'20200903','EDate':'20210902','Frq':'D'})
this will result into the following error
code col message row
1 412 1 Unable to resolve all requested identifiers. 0
2 412 2 Unable to resolve all requested identifiers. 0
However the following code will reply the correct answer:
df,e = ek.get_data('ASMLATMIV.EX',
['TR.30DAYATTHEMONEYIMPLIEDVOLATILITYINDEXFORPUTOPTIONS.Date',
'TR.30DAYATTHEMONEYIMPLIEDVOLATILITYINDEXFORPUTOPTIONS'
],
{'SDate':'20200903','EDate':'20210902','Frq':'D'})
Of course for a single stock this can be sorted out by hand. Bur for managing a portfolio this can become quite cumbersome.
Moreover when I search in the terminal for ASMLATMIV I get the following results:
This means that there are multiple options and that a guessing an ATM IV RIC can be quite dangerous.
For ASML this is the case because ASML is traded at two exchanges (ASML.AS (EUR, Amsterdam) and ASML.O(USD, N.Y.)). Why the search results shows the RIC of Allianz a german insurance company (ALVG.DE) is a complete mystery to me.
There I am wondering if and how it is possible to do a conversion from a stock or option RIC to an ATM implied volability RIC in either eikon or RDP.
thanks,
Laurens