Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Eikon Data APIs /
avatar image
Question by christopher.songer · May 24, 2019 at 06:19 PM · get_dataget_timeseries

Different values returned by get_timeseries and get_data

In comparing the results returned by get_data and get_timeseries, I found one example where they return different results for the same field:

ek.get_data(['ESH9^1'], ['TR.OPENPRICE.Date', 'TR.OPENPRICE', 'TR.HIGHPRICE', 'TR.LOWPRICE', 'TR.CLOSEPRICE', 'TR.ACCUMULATEDVOLUME'], {'SDate': '2019-03-01', 'EDate': '2019-03-01', 'FRQ': 'D'})

returns:

Instrument Date Open Price High Price Low Price Close Price Accumulated Volume
0 ESH9^1 2019-03-01T00:00:00Z 2785.25 2808.25 2783 2807 1265597

while:

ek.get_timeseries(['ESH9^1'], fields=['TIMESTAMP', 'OPEN', 'HIGH', 'LOW', 'CLOSE', 'VOLUME'], start_date='2019-03-01', end_date='2019-03-01', interval='daily')

returns:

ESH9^1 OPEN HIGH LOW CLOSE VOLUME
Date
2019-03-01 2785.25 2808.25 2783.0 2805.0 1265597.0

In this example, the Close field values differ between the two function calls (2807 returned from get_data, 2805 returned from get_timeseries). Should these functions be returning the same data for all of these fields?

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Alex Putkov. · May 24, 2019 at 07:31 PM

When using get_data method with these futures TR.CLOSEPRICE returns the last trade price of the day. The official close price aka the settlement price can be retrieved using the field TR.SETTLEMENTPRICE. The value returned by TR.SETTLEMENTPRICE field corresponds to the CLOSE value returned by get_timeseries method.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
8 People are following this question.

Related Questions

How to properly download expired commodity futures data

Eikon Python API: No negative values via get_data / get_timeseries

Missing dates for get_timeseries and no VWAP data for German stocks

Eikon Data API consistency across get_data and get_timeseries

How to sort an ek.get_data request by instrument and fiscal period (absolute)?

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges