Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Eikon Data APIs /
avatar image
Question by Tulkkas · Nov 26, 2019 at 08:28 AM · apieikonpython apifundamentalsttm

How to get LTM value for item TR.TotalRevenue?

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?

1574756494547.png (59.1 KiB)

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by chavalit.jintamalit · Nov 26, 2019 at 07:17 PM

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/


ahs.png (64.0 KiB)
ahs2.png (81.9 KiB)
Comment

People who like this

0 Show 1 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Tulkkas · Dec 09, 2019 at 01:32 PM 0
Share

When you say the data is not available, it means not available specifically through the Python API right? Because obviously it is available in Eikon (see my screenshot). Is there a reason why it would not be available only through de API?

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
11 People are following this question.

Related Questions

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

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges