I am trying to retrieve data for the company Allianz (RIC: ALVG.DE). In Eikon i can easily find the latest reporting quarterly and semi-annualy and there is also a TTM value of 101.128 as you can see in the below image.
I am trying to retrieve this value using the following command:
ids = ['ALVG.DE'] fields = ["TR.TotalRevenue","TR.TotalRevenue.rfperiode","TR.TotalRevenue.date"] fields_params = {'SDate':'0D', 'Period':'LTM'} data1, err1 = ek.get_data(ids,fields,fields_params)
But this returns NaN. What should I modify to get the Trailing Twelve month value of 101.128 that i see in Eikon?
Hi @Tulkkas
Your code is correct but the data which period is LTM is not available.
I just reconfirm using "Data Item Browser"
You can contact Refinitiv Content Helpdesk to clarify why the data for LTM period is not available at https://my.refinitiv.com/
Can´t connect to the Eikon data API "EikonError-Server Error"
Retrieve sovereign long term issuer rating and outlook through eikon api?\
Retrieve the constituents of a yield curve at a specific value date using Eikon Data API (Python)
Set Python API logs programmatically.
Does Eikon Python API support ADC functions in get_data or get_timeseries? e.g. PERCENT_CHG