fundamental data missing
Hello,
I am currently trying to retrieve historical fundamental data including balance sheet data, income data and market capitalization for the EURO STOXX 600 for a few years by quarter.
For this, first I extract the RIC for the constituents:
euro_stoxx_600, err = ek.get_data("0#.STOXX", "TR.RIC", parameters={'SDate':'2015-12-31', 'EDate':'2022-04-30','Frq':'FQ', 'Period':'FQ0'})
After that I first wanted to extract the balance sheet data for these companies.
euro_stoxx_600_list = euro_stoxx_600["RIC"].tolist()
Then I basically iterate through the list with a batch size of 5 (i.e., 5 tickers at a time)
batch_size = 5
tickers_to_extract = euro_stoxx_600_list [(i*batch_size):(i+1)*batch_size]
balance_sheet, err = ek.get_data(tickers_to_extract,
['TR.F.BalanceSheet.date', 'TR.F.BalanceSheet.fieldname','TR.F.BalanceSheet.fielddescription','TR.F.BalanceSheet'],
parameters={'SDate':'2015-12-31', 'EDate':'2022-04-30','Frq':'FQ', 'Period':'FQ0'})
This approach works for many RICs just fine. However, for about 200 RICs, I got the situation you can see in the screenshot where I do not have any data.
Exactly this happens for the other RICs as well. Examples are: HRGV.L, BRBY.L, WLN.PA, EXOR.MI,...
I then tried to retrieve the data for the GETP.PA RIC via the code creator. With this code I was able to get the total assets over this time period.
getp, err = ek.get_data(instruments = ['GETP.PA'],fields = ['TR.F.TotAssets(Period=FY0,Frq=FQ,SDate=2015-12-31,EDate=2022-04-30)'])
However, when I included the date which is really essential for me, again I just had one empty row.
getp, err = ek.get_data(instruments = ['GETP.PA'],fields = ['TR.F.TotAssets(Period=FY0,Frq=FQ,SDate=2015-12-31,EDate=2022-04-30)','TR.F.TotAssets.date(Period=FY0,Frq=FQ,SDate=2015-12-31,EDate=2022-04-30)'
Is there a way to fix this or am I doing something wrong?
Thanks in advance
Best Answer
-
I got the same result when using the =TR function in Eikon Excel.
=@TR("HRGV.L;GETP.PA;BRBY.L;WLN.PA","TR.F.BalanceSheet.date;TR.F.BalanceSheet.fieldname;TR.F.BalanceSheet.fielddescription;TR.F.BalanceSheet","SDate=2015-12-31 EDate=2022-04-30 Period=FQ0 Frq=FQ CH=Fd RH=IN",C10)
Therefore, you need to contact the Eikon Excel support team directly via MyRefinitiv and ask for the =TR formula which can be used to retrieve the required data. Then, you can apply it to the get_data method.
For the TR.F.TotAssets field, you need to use 'TR.F.TotAssets(Period=FY0,Frq=FQ,SDate=2015-12-31,EDate=2022-04-30).date' instead.
getp, err = ek.get_data(instruments = ['GETP.PA'],
fields = [
'TR.F.TotAssets(Period=FY0,Frq=FQ,SDate=2015-12-31,EDate=2022-04-30)',
'TR.F.TotAssets(Period=FY0,Frq=FQ,SDate=2015-12-31,EDate=2022-04-30).date'
]
)
getpThe output is:
1
Answers
-
If the same code is working for many other RICs and not yielding data for certain RICs, then this is most likely a content issue.
I would recommend you create a content query ticket on My.Refinitiv (or contact the helpdesk directly via Eikon) - to discuss your requirements. They may be able to advise if the required data is available in a different field for those particular RICs.
Whilst we do try to normalise our data, we carry 80million RICs from 10,000+ sources - and sometimes there can be differences based on the source of data/asset class etc.
1 -
Thank you both a lot.
I now made a content request. Let's see if this helps
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛