Problem with retriving historical fundemtal data

Hi ,
We are using historical data of MMM.N of the cash and cash equivalent line item from the balance sheet, however when we use the time-series function we only get partial data from 2015 forward, on other companies we get the full history , can you please help us with the issue
Thank you ,
Best Answer
-
@barshalev Not sure what exact parameters you are using as you did not paste the code, but this works for me:
df,err = ek.get_data('MMM',['TR.F.CashCashEquivTot(SDate=0,EDate=-19,Period=FY0,Frq=FY).date','TR.F.CashCashEquivTot(SDate=0,EDate=-19,Period=FY0,Frq=FY)'])
dfI hope this can help.
0
Answers
-
Hi thank you for the answer , we are using the following code:
ek.get_data('MMM',['TR.ISSourceDate', 'TR.Revenue.date','TR.Cash'],{'Scale': 6, 'SDate': '1980-01-01', 'EDate': 0, 'FRQ': 'FQ', 'Curn': 'USD','period':'FQ0'})
Can you please tell me what is the problem with this script?
0 -
@barshalev the issue with that call is you had parameter values not encased in ''. Again I recommend using the cash and equivalents field I used above. See my code below:
df, err = ek.get_data('MMM',['TR.ISSourceDate','TR.Revenue.date','TR.Cash'],parameters={'Scale': '6', 'SDate': '1980-01-01', 'EDate': '0',
'FRQ': 'FQ', 'Curn': 'USD','period':'FQ0'})
dfI hope this can help.
0 -
0
-
Ok, I will try your script, but in the screenshot, you sent you also receive NaN value for MMM but in the Eikon GUI, we can see that the data exists.
0 -
@barshalev thats because I don't think TR.Cash is a valid fieldname - hence I recommend you to use the cash & cash equivalent field TR.F.CashCashEquivTot which will work as expected (see first code sample). You can check which fields are available using the Data Item Browser app (type DIB into Eikon search bar) - I strongly recommend you use this as your primary content navigation tool - as it provides field names, descriptions and all available parameter settings - as well as values if you provide an instrument. In the bottom right hand corner of that app it even creates the correct field for you based on the settings you select - so all you have to do is copy and paste that into your fields list.
0 -
Hi, thanks for your answer.
The parameter you suggested doe's not seem to be available in the eikon DIB.
We Know now that the item for cash and cash equivalent is the one you pointed but how can I tell what is the best data item for each parameter? and how can we know it for sure if I can't see this one?0 -
@barshalev apologies just saw this - there are two content navigators in Eikon - the first is the Data Item Browser app and the second is the Code Creator app. The Data Item Browser actually provides values as well as descriptions and parameters - so you can find the exact field you are looking for. In most eikon apps you can hover over any item name and next to it you will see a question mark '?' :
If you click that you will get the appropriate field name:
The second tool Code Creator is the next generation where you can visually select your query from all fields and parameters available and then it will create the python code for you, which you can either copy to a notebook or launch in CodeBook - our hosted python scripting environment. I hope this can help.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 685 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 252 ETA
- 556 WebSocket API
- 38 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 652 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 193 TREP Infrastructure
- 228 TRKD
- 917 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛