Data mismatch from eikon.get_data with parameter Frq=AM
Hello there. Here is a simple request for dividend yeild
params = {'Frq': 'AM', 'SDate': '2008-01-01', 'EDate': '2018-02-28'}
req, err = ek.get_data(instruments=['SCHN.PA'],
fields=['TR.DividendYield.calcdate', 'TR.DividendYield'],
parameters=params)
It's returns:
Instrument Calc Date Dividend yield
0 SCHN.PA 2008-01-01 4.087193
1 SCHN.PA 2008-02-01 4.809794
2 SCHN.PA 2008-03-01 4.620554
...
115 SCHN.PA 2017-08-01 0.000000
116 SCHN.PA 2017-09-01 0.000000
117 SCHN.PA 2017-10-01 NaN
118 SCHN.PA 2017-11-01 NaN
119 SCHN.PA 2017-12-01 NaN
120 SCHN.PA 2018-01-01 NaN
121 SCHN.PA 2018-02-01 NaN
But if requesting in excel same data using formula:
=TR("SCHN.PA";"TR.DividendYield";"SDate=2008-01-01 EDate=2018-02-28 CH=Fd Frq=AM RH=calcdate NULL=blank";C4)
It returns next:
Updated at 09:37:35
Dividend yield
01.01.2008
01.02.2008
01.03.2008
01.04.2008
01.05.2008
01.06.2008 4.08719346
01.07.2008 4.809794491
...
01.05.2017 2.813793103
01.06.2017 2.975495916
01.07.2017 0
01.08.2017 0
01.09.2017 0
01.10.2017 0
01.11.2017 0
01.12.2017 0
01.01.2018 0
01.02.2018 0
It's look like as mismatch data using python and excel. NaN values in variable req should be in the begining of the variable. Why this python request returns that?
0
Best Answer
-
It is a known bug that the API doesn't handle NULL data properly. The NULL data is replaced with the next available data which causes the data is shifted upward.
The date for a fix is not fully committed yet, but it should be before end of April 2018.
Please refer to these questions:
0
Answers
-
The issue is fixed as of 30-Apr-18.
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 中文论坛