I am trying to get the expiry or maturity date 'MATUR_DATE' to display when I call:
rdp version is: Eikon RDP Version: 1.0.0a7.post7
or is there a way to get the expiry date using ek?
Thanks
Hi @JPO ,
I would recommend you look at thenewer RD Library for Python. For a position statement on the deprecated RDP Library please see the overview page.
import refinitiv.data as rdrd.open_session()df = rd.get_data(universe = 'COP2YNDF=')df
or ek.get_data can also be used
import refinitiv.data.eikon as ekek.set_app_key('DEFAULT_CODE_BOOK_APP_KEY')df, err = ek.get_data(['COP2YNDF='], [ 'MATUR_DATE'])df
Hope this helps and please let me know in case you have any further questions.