I'm trying to get the dividend holdings with the get_data command, and I can't get out the histor...

kamal.chancari
Explorer
I'm trying to get the dividend holdings with the get_data command, and I can't get out the history even using SDate and EDate, only returns current holdings
0
Best Answer
-
Could you detail your get_data request ?
Following example is working well :
>data, err = ek.get_data(["IBM", "GOOG.O", "MSFT.O"],
["TR.Revenue", 'TR.TotalCurrentAssets',
"TR.GrossProfit", "TR.Employees"],
parameters={"SDate": 0,
"EDate": -4,
"Period": "FY0",
"FRQ": "FY"})
>print(data)
Instrument Revenue Total Current Assets Gross Profit Full-Time Employees
0 IBM 77147000000 38420000000 36488000000 352600
1 IBM 79591000000 49146000000 36936000000 350600
2 IBM 79139000000 49735000000 36943000000 366600
3 IBM 79919000000 43888000000 38516000000 380300
4 IBM 81741000000 42504000000 40684000000 377757
5 GOOG.O 161857000000 152578000000 89961000000 118899
6 GOOG.O 136819000000 135676000000 77270000000 98771
7 GOOG.O 110855000000 124308000000 65272000000 80110
8 GOOG.O 90272000000 105408000000 55134000000 72053
9 GOOG.O 74989000000 90114000000 46825000000 61814
10 MSFT.O 125843000000 175552000000 82933000000 144000
11 MSFT.O 110360000000 169662000000 72007000000 131000
12 MSFT.O 96571000000 162696000000 62310000000 124000
13 MSFT.O 91154000000 139660000000 58374000000 114000
14 MSFT.O 93580000000 122797000000 60542000000 1180000
Categories
- All Categories
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 684 Datastream
- 1.4K DSS
- 613 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
- 248 ETA
- 552 WebSocket API
- 37 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
- 630 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
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 191 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 86 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛