Hi, I want to be able to retrieve the EOD dirty prices of corporate bonds (international portfolio) using Python eikon API (see code snippet below).
How can I do that?
Can someone also pls explain:
a) can I use this Sdate argument and how? What does Sdate="0D" or "-1D" mean?
b) does 'TR.CLEANPRICE.date' give me the date on which the bond last traded or .. ?
c) what is the difference between 'TR.DIRTYPRICE' and "DIRTY_PRC" ?
Many thanks in advance.
****************************************************************
lst = ["902613AH1="]
databnd, err = ek.get_data(lst,fields = ['TR.FIAccruedInterest',
'TR.FiNumberAccruedDays',
'TR.CLEANPRICE',
'TR.CLEANPRICE.date',
'TR.DIRTYPRICE',
'DIRTY_PRC']
, parameters = {"Sdate":'-1D'})