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 /

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

avatar image
Question by daniel.schmitt · Aug 09, 2018 at 04:02 AM · eikoneikon-data-apipythonworkspaceworkspace-data-apirefinitiv-dataplatform-eikonhistoricalreikon-data-api-r

Intraday data with eikonapir in R

I am testing if I could get hourly data for the .SPX:

> result <- get_timeseries(list(".SPX"),list("*"),"2016-01-01T15:04:05","2016-01-10T15:04:05",interval="hour", debug = TRUE)
[1] "Request *************************************"
{"Entity":{"E":["TimeSeries"],"W":{"rics":[[".SPX"]],"fields":[["*"]],"interval":["hour"],"startdate":["2016-01-01T15:04:05"],"enddate":["2016-01-10T15:04:05"]}}} 
[1] "Response *************************************"
[1] "{\"timeseriesData\":[{\"dataPoints\":null,\"errorCode\":\"TSIError\",\"errorMessage\":\"Error: TSINoDataAvailable, ErrorCode: TA-TSINoDataAvailable, Fault: TSIError, Description: No data available for the requested date range\",\"ric\":\".SPX\",\"statusCode\":\"Error\"}]}"
[1] "Response status *************************************"
[1] 200


> result
         
1 NA .SPX
For daily data it works fine:
> result <- get_timeseries(list(".SPX"),list("*"),"2016-01-01T15:04:05","2016-01-10T15:04:05",interval="daily", debug = TRUE)
[1] "Request *************************************"
{"Entity":{"E":["TimeSeries"],"W":{"rics":[[".SPX"]],"fields":[["*"]],"interval":["daily"],"startdate":["2016-01-01T15:04:05"],"enddate":["2016-01-10T15:04:05"]}}} 
[1] "Response *************************************"
[1] "{\"timeseriesData\":[{\"dataPoints\":[[\"2016-01-04T00:00:00Z\",2038.2,2012.66,1989.68,2038.2,null],[\"2016-01-05T00:00:00Z\",2021.94,2016.71,2004.17,2013.78,null],[\"2016-01-06T00:00:00Z\",2011.71,1990.26,1979.05,2011.71,null],[\"2016-01-07T00:00:00Z\",1985.32,1943.09,1938.83,1985.32,null],[\"2016-01-08T00:00:00Z\",1960.4,1922.03,1918.46,1945.97,null]],\"fields\":[{\"name\":\"TIMESTAMP\",\"type\":\"DateTime\"},{\"name\":\"HIGH\",\"type\":\"Double\"},{\"name\":\"CLOSE\",\"type\":\"Double\"},{\"name\":\"LOW\",\"type\":\"Double\"},{\"name\":\"OPEN\",\"type\":\"Double\"},{\"name\":\"VOLUME\",\"type\":\"Double\"}],\"ric\":\".SPX\",\"statusCode\":\"Normal\"}]}"
[1] "Response status *************************************"
[1] 200


> result
             TIMESTAMP    HIGH   CLOSE     LOW    OPEN VOLUME   NA
1 2016-01-04T00:00:00Z  2038.2 2012.66 1989.68  2038.2   <NA> .SPX
2 2016-01-05T00:00:00Z 2021.94 2016.71 2004.17 2013.78   <NA> .SPX
3 2016-01-06T00:00:00Z 2011.71 1990.26 1979.05 2011.71   <NA> .SPX
4 2016-01-07T00:00:00Z 1985.32 1943.09 1938.83 1985.32   <NA> .SPX
5 2016-01-08T00:00:00Z  1960.4 1922.03 1918.46 1945.97   <NA> .SPX


Does Reuters prevent us from querying this data or do I have to do something differently?

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.1 · Aug 09, 2018 at 12:05 PM

Hourly timeseries available through Eikon go back 1 year. In your request you're asking for a 10 day range from 2.5 years ago. If you need hourly price history deeper than 1 year you may want to consider Thomson Reuters Tick History product.

https://financial.thomsonreuters.com/content/dam/openweb/documents/pdf/financial/thomson-reuters-tick-history-fact-sheet.pdf

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

R eikonapir: returns data.frame with NA only

R eikonapir - Proxy

R compatibility with eikon api

Eikon R API install error

eikonapir: how to get timeseries data for dividends field?

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • FX Venues
    • FX Trading – RFQ Maker
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • 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
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • Yield Book Analytics
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges