ek.get_data関数を使用した簡単なデータ取得の方法について教えてもらいたいです
私は1枚目画像内の赤枠のデータ値取得を試しましたが、うまく取得できません。
どのようにしたらよいでしょうか?
<<プログラム>>
TR = "TR.TotalEquity"
fields_list = [str(TR)+".periodenddate",str(TR)+".date",str(TR)]
parameters = {"Frq":"FQ","Period":"1FQ2016:4FQ2017"}
data = ek.get_data("2120.T",fields = fields_list,parameters =parameters)
data[0]
Best Answer
-
Hi @21nm461f ,
Please find an answer from the support team below
I'd like to inform you that I converted the Python code to the Eikon Excel formula and provide the Excel formula to the support team for investigation. (as the data returned from the Eikon Excel formula and Eikon Data API are the same)
After checked with our content team, below formula retrieve null values because the fiscal year end changed from 03/31/2018 to 09/30/2017 for the company 2120.T. For FY2017, there are two fiscal year end, one is 03/31/2017 12 month and another is 09/30/2017 6 month.
=@TR("2120.T","TR.TotalEquity.periodenddate;TR.TotalEquity.date;TR.TotalEquity","Period=FQ0 Frq=FQ SDate=2016-12-31 EDate=2017-03-31 CH=Fd RH=IN",B2)
In Eikon desktop, Eikon has data for 06/30/2016 (2017-Q1), 09/30/2016(2017-Q2), 12/31/2016(2017-Q3), 03/31/2017(2017-Q4), 06/30/2017(2017-Q3), 09/30/2017(2017-Q4). However, in Eikon excel, the database just show the latest Q3 and Q4 for 2017. If you expand above the date formula to SDate=2015-01-01 and EDate=2019-12-31, you will notice that there is not data for 12/31/2016 and 03/31/2017.
Sincerely apologize to this inconvenience.
Hope this is helpful. Please let me know if you have further questionFor any questions regarding the content issue, I would recommend you
create a content query ticket on MyRefinitiv (or
contact the helpdesk directly via Eikon) as the moderators in this forum are an API experts, rather than content experts.0
Answers
-
hi @21nm461f ,
Thank you for reporting this.This issue has been raised to the related team via case number 11449940, we'll keep you updated.
0 -
Thank you for your reply.
I understand the reason why I could not get it. But how exactly can I get it?
Also, I did not understand the "create a content query ticket on MyRefinitiv" part. I would appreciate it if you could also tell me specifically how to ask the content team the question.
Thank you in advance for your time and help.
0
Categories
- All Categories
- 6 AHS
- 39 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
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛