i start with this
formula = 'TR.ACCRUEDINTEREST(SDate=0,EDate=-19,Frq=C).date'
df, e = ek.get_data(instruments='XS1572326145', fields=formula)
print(df)
and it gives the dates; to get values, we would change:
formula = 'TR.ACCRUEDINTEREST(SDate=0,EDate=-19,Frq=C).value'
however, i don't understand how to get a DF containing both dates and values?
Thanks!