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 pyquant · Sep 16, 2020 at 01:00 PM · fundamental datarevenue

How to get Total Revenue with Dates?

I am trying to get the FY2019 Revenue data for the below list of stocks. I used the following code.

data,er = ek.get_data(ric_code, ['TR.Revenue(SDate=2019-05-03,EDate=2020-02-07).Date',

'TR.Revenue'], {'SDate':'2019-05-01','EDate':'2020-08-04'})


I am getting NA values back.

Can you also direct me to the docs/tutorials where I can learn more on how to pull fundamental data for the stock listings.


["UNH.N, CI.N, JPM.N, ANTM.N, BAC.N, WFC.N, C.N, HUM.N, AIG.N, PGR.N, ALL.N, CB.N, TRV.N, COF.N, USB.N, HIG.N, FLR.N, PNC.N, BK.N, RGA.N, SYF.N, TFC.N, DTE.N, CNP.N, UNM.N, VST.N, STT.N, DFS.N, SRE.N, OKE.N, AIZ.N, RE.N, WRB.N, PPL.N, VOYA.N, FITB.O, UGI.N, ALLY.N, CFG.N, KEY.N, MTB.N, RF.N, ACGL.O, ATH.N, EVRG.N, AXS.N, KMPR.N, HBAN.O, RNR.N, FRC.N, CMA.N, SIVB.O, ZION.O, GEL.N, PFG.O, FHN.N, PBCT.O, CIT.N, TCF.N, EWBC.O, WTFC.O, SBNY.O, WBS.N, WAL.N, TCBI.O, PNFP.O, NYCB.N, OZK.O, AGO.N, BKU.N, JRVR.O, FHB.O, FBK.N, APLT.O, RAPT.O"]

eikon-revenue.png (46.7 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 · Sep 16, 2020 at 03:25 PM

Hi @pyquant

You can use "Data Item Browser" to explore the fields.

Please review this tutorial for "Data Item Browser" tutorial(scroll down to Data Item Browser section)


I think maybe you can use TR.RevenueActValue field.


rics = ["UNH.N, CI.N, JPM.N, ANTM.N, BAC.N, WFC.N, C.N, HUM.N, AIG.N, PGR.N,ALL.N, CB.N, TRV.N, COF.N, USB.N,\
HIG.N, FLR.N, PNC.N, BK.N, RGA.N, SYF.N, TFC.N, DTE.N, CNP.N, UNM.N, VST.N, STT.N, DFS.N, SRE.N, OKE.N, AIZ.N,\
RE.N, WRB.N, PPL.N, VOYA.N, FITB.O, UGI.N, ALLY.N, CFG.N, KEY.N, MTB.N, RF.N, ACGL.O, ATH.N, EVRG.N, AXS.N, KMPR.N,\
HBAN.O, RNR.N, FRC.N, CMA.N, SIVB.O, ZION.O, GEL.N, PFG.O, FHN.N, PBCT.O, CIT.N, TCF.N, EWBC.O, WTFC.O, SBNY.O,\
WBS.N, WAL.N, TCBI.O, PNFP.O, NYCB.N, OZK.O, AGO.N, BKU.N, JRVR.O, FHB.O, FBK.N, APLT.O, RAPT.O"]

fields = ['TR.RevenueActValue.Date','TR.RevenueActValue.periodenddate','TR.RevenueActValue']


data,err = ek.get_data(rics, fields, {'Frq':'FY','Period':'FY2019'})
data

ahs.png (187.1 KiB)
Comment

People who like this

0 Show 0 · 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.

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 >
9 People are following this question.

Related Questions

Is is possible to retrieve finacial data based on PermIDs via Eikon Data API ?

Can't get quaterly data

What is the difference between the fields "date" and "Calc date"

Missing fundamentals data via Python API

Point-in-time or look-ahead bias?

  • 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