API to pull operating metrics

How can I use the API to pull operating metrics for all constituents while specifying the as of date and period? For example, TR.TotalRevenue, for last 12 months (or 4 quarters), as of 4/30/2022

Best Answer

  • @Mayeen.Neri Thanks for your question, so you can use the Refinitiv Data Libraries (Python,.NET,TypeScript) to do this easily:

    import refinitiv.data as rd
    rd.open_session()
    rd.get_data(
        universe=['0#.FTSE'],
        fields=['TR.F.TotRevenue(Period=FY0).date','TR.F.TotRevenue(Period=FY0)'],
        parameters = {'SDate': '2022-04-30'}
    )

    1695724873827.png

    I hope this can help.


Answers

  • Where can I go to search available fields for rd libary? I don't see TR.F.TotRevenue in DIB on Eikon desktop