Client wants to pull up recent month data for below fields (Sample RIC LSEG.L)
Is there a way to return only the latest data using get_data, including a column for the date of that data point
These are the fields I'd like to get:
FIELDS = [
"TR.REVENUESMARTEST",
"TR.GPMMEAN",
"TR.F.RETURNAVGTOTASSETSPCT",
"TR.F.DIVPAYOUTRATIOPCT",
"TR.F.INTRCOVRATIO",
"TR.F.TOTREVENUE(CURN=EUR)",
"TR.F.INTRPAIDCFSUPPL",
"TR.F.INCBEFTAX",
"TR.F.QUICKRATIO",
"TR.F.INTANGNETPCTOFTOTASSETS",
"TR.NETDEBTACTVALUE",
"TR.F.NETDEBTTOEBITDA",
"TR.F.EBITDAMARGPCT",
"TR.REPEPSMEAN",
"TR.F.TOTLIAB",
"TR.F.TOTEQPCTOFTOTASSETS",
"TR.F.PPENETTOT",
"TR.F.LEVEREDFOCF",
"TR.F.RETURNAVGTOTASSETSPCTTTM",
"TR.F.COMEQTOT",
'TR.F.OriginalAnnouncementDate',
'TR.F.OriginalAnnouncementDate(StType=INC)',
'TR.F.OriginalAnnouncementDate(StType=BAL)',
'TR.F.OriginalAnnouncementDate(StType=CAS)',
'TR.F.OriginalAnnouncementDate(StType=All)',
"TR.F.StatementDate",
'TR.F.StatementDate(StType=INC)',
'TR.F.StatementDate(StType=BAL)',
'TR.F.StatementDate(StType=CAS)',
'TR.F.StatementDate(StType=All)'
]
Additionally, could you please confirm which function would be more appropriate for this requirement—rd.get_history or rd.get_data?
From get_data:
From get_history: