Data mismatch from eikon.get_data with parameter Frq=AM

oalexandere
Explorer
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
- 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
- 687 Datastream
- 1.4K DSS
- 621 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
- 254 ETA
- 557 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
- 276 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
- 669 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
- 229 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
- 48 中文论坛