inconsistent shares outstanding from ek.get_data()
Hi,
I get inconsistent data on shares outstanding for the same instrument (SPY) in two almost identical queries with ek.get_data() with the only difference being the time periods which are overlapped.
Here are my queries:
df1, err = ek.get_data(['SPY'], ['TR.NETASSETVAL.date', 'TR.NETASSETVAL','TR.SharesOutstanding', 'TR.DividendYield'], {'SDate':'2021-01-01', 'EDate':'2022-01-21'})
df2, err = ek.get_data(['SPY'], ['TR.NETASSETVAL.date', 'TR.NETASSETVAL','TR.SharesOutstanding', 'TR.DividendYield'], {'SDate':'2022-01-01', 'EDate':'2022-01-21'})
The data returned for Outstanding Shares are quite different for the overlapped period from Jan 02, 22 - Jan 21, 22.
df1
271SPY2022-01-17T00:00:00Z464.71799<NA>1.230464272SPY2022-01-18T00:00:00Z456.180463<NA>1.252648273SPY2022-01-19T00:00:00Z451.768523<NA>1.265791274SPY2022-01-20T00:00:00Z446.815784<NA>1.279958df2
10SPY2022-01-17T00:00:00Z464.717999520321161.23046411SPY2022-01-18T00:00:00Z456.1804639520321161.25264812SPY2022-01-19T00:00:00Z451.7685239520321161.26579113SPY2022-01-20T00:00:00Z446.8157849520321161.279958I would appreciate if you can check this inconsistency.
Thanks,
TH
Best Answer
-
You need to request the TR.SharesOutstanding.date field to check the date of the TR.SharesOutstanding field.
df1, err = ek.get_data(['SPY'], ['TR.NETASSETVAL.date', 'TR.NETASSETVAL','TR.SharesOutstanding.date','TR.SharesOutstanding', 'TR.DividendYield'], {'SDate':'2021-01-01', 'EDate':'2022-01-21'})
The dates are overlapped.
1
Answers
-
Thank you so much for the suggestion. It's interesting to see that the dates are not aligned with each other. It seems the field Sharesoutstanding has fewer observations than the other fields. I was wondering why it is the case?
Thanks again for the support.
TH
0 -
Hello @tta ,
Following up on the answer from @Jirapongse on how to obtain the content set using Eikon Data API, for an expert explanation and clarification on the actual content, the best way is to refer to Refinitiv Eikon content experts directly, via Refinitiv Helpdesk Online -> Content -> Eikon while this forum will be of most help to you with EDAPI usage questions.
Let us know if you are able to proceed, or would like us to help submit on your behalf?
1 -
Hi,
I did not see any "Accept" button to click on.
Thanks,
TTA
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 中文论坛