Hi,
I am trying to fetch the current open interest data for an option chain using the code below.
df, ek = e.get_data('0#BL2K0+',
['DSPLY_NAME'])
df.fillna(method='ffill',inplace=True)
df.dropna(inplace=True)
data,err= e.get_data(df.Instrument[1:].to_list(),
['DSPLY_NAME','PUTCALLIND','STRIKE_PRC',
'CF_CLOSE','TR.OPENINTEREST','IMP_VOLT',
'NET_CHG(TR.OPENINTEREST(0d),TR.OPENINTEREST(-1d))','EXPIR_DATE'])
( Check the open interest values of the 200 call option, if we consider the OI change values then it would seem to be showing previous days value, but the close price is that of the current price in both data)
Eikon API values:
Terminal values:
The values that I am getting are different from those which are shown on the terminal. How can I get the current values displayed on the terminal.