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 Filippo.Claps · Nov 02, 2020 at 12:14 PM · pythoneikon apiquarterlybalance sheet data

Quarterly Balance Sheet panel data

Hello!

I am trying to create a panel dataset with historical quarterly balance sheet observations that is supposed to look like this:



The line of code I am using to retrieve the data, through the Python API is this:

data, e = ek.get_data(names.Instrument.to_list(), fields, parameters={'Frq':'Q', 'Period':'FQ0', 'SDate':'2010-01-01', 'EDate':'2020-09-30'})

I used this combination of parameters because it returns the most 'complete' data coverage. However, a lot of cells are empty and there are some duplications and inconsistencies. What could be the optimal way to download historical BS data with the Eikon API?

I would be mostly interested in the calendar quarter data, but the coverage using this filter is by far inferior to the one obtained with the fiscal quarter filter.

Thank you in advance for your help!

snip.jpg (20.9 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 jason.ramchandani · Nov 02, 2020 at 12:34 PM

@Filippo.Claps Please see the code below this can pull the whole standard Balance Sheet (or Cashflow Statement or Income Statement in one API call) Here we are pulling in the last 8 fiscal quarters of FQ0 data:

df, err =ek.get_data(['ADBE.N'],['TR.F.BalanceSheet.periodenddate','TR.F.BalanceSheet.fieldname','TR.F.BalanceSheet.fielddescription','TR.F.BalanceSheet'],parameters = {'SDate':'-8','EDate':'0','Period':'FQ0','Frq':'FQ','reportingState':'Rsdt', 'curn':'Native', 'Scale':'6','SORTA':'LISeq'})

df

I don't know the universe of RICs you are requesting but not all countries mandate quarterly returns - that could be why there are gaps in the data. In the US quarterly reporting is standard. I hope this can help.


1604320208578.png (246.9 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 >
12 People are following this question.

Related Questions

How to extract quarterly fundamentals data

In eikon Python api function eikon.get_news_headlines() are results inclusive of date_from and date_to timestamps parameters?

RICs yield lesser data than on Eikon

Avoid Eikon from giving the last available value for a date outside of a request.

Python Eikon API to Reuters Stock Screen

  • 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