Hello Team,
Client wants to pull up the most recent data per month for below data point.
The client is pulling historical data, they're getting values from 2020 even though the request is for a month in 2026. 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?