get_timeseries: Date column returned as integer instead of datetime
I just tried to fetch price data of a single equity with get_timeseries function of the Python EIKON API. Unfortunately, I receive a warning and the "Date" column has integer values instead of datetime. I attached a screenshot of a simple example.Do you know how to get the dataframe with Date column in datetime format? I use Python 3.9, eikon 1.1.14, pandas 1.4.2., numpy 1.22.3
Best Answer
-
Hi @tina.engler ,
I'd like to confirm that the fix had been released in the Eikon version 1.1.16, please see the below screenshot
Please let me know in case there is any questions.
0
Answers
-
Hi @tina.engler
I have tried your code snippet here and I cannot recreate the issue
Are you running in Codebook or a standalone python notebook?
As you will note, the _head() call and the 'Date' output are both appearing in normal Date format.
If you are running a standalone python script, what version of the Eikon API is installed? Can you try the same code snippet in CodeBook to see if you get the same result or not?0 -
Hi, thanks for your quick reply!
I am running a standalone python script, where Version 1.1.14 of Eikon API is installed.
I tried to run the same code snipped in CodeBook as well and it seems to be the same problem (same warning, same output). example_codebook.PNG
0 -
Hi @tina.engler
I also tried your code in Codebook and if I set normalize=True, I also see the same issue as you.
I will report to the Eikon API team0 -
Hi @raksina.samasiri
I have chased the Eikon API team again today.
0 -
Hi @raksina.samasiri and @tina.engler
Apologies but this issue fell through the cracks and was overlooked by the Eikon API team.
They have now picked it up and raised a ticket for it internally.
0 -
Hi @tina.engler
The EDAPI team have confirmed that a fix will be released in approximately 2 weeks in EDAPI library v1.1.16 and RDP Library b17
0 -
I'm suddenly having this issue with using the get_data() function. My script was working fine for months but suddenly started returning large numbers instead of dates. Any advice?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 中文论坛