Upgrade from Eikon -> Workspace. Learn about programming differences.

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 2 2 4

Trying to download VINX time-series

I am trying to download timeseries for .VINXNOKNI index, but get empty data.frame in returns. Is this data available? Or this .VINXNOKNI just a collection of stocks?

Using this code in R:

get_timeseries(".VINXNOKNI",list("TIMESTAMP","CLOSE","VOLUME"),"2000-01-01T15:04:05","2018-01-02T15:04:05","daily")
               
1 NA .VINXNOKNI
eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
icon clock
10 |1500

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

Upvotes
Accepted
79.6k 253 52 74

From the error, it is a permission issue. The Eikon's account doesn't have a permission to request time-series data of this RIC (.VINXNOKNI).

You can contact your Thomson Reuters' account team or local support team for the permission (https://my.thomsonreuters.com/ContactUsNew).

icon clock
10 |1500

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

Upvotes
4.6k 26 7 22

Try adjusting the time series start and end dates, the data point we have is for 2012-07-13

icon clock
10 |1500

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

Upvotes
1 2 2 4

Thanks for the tip but unfortunately doesnt work either. With other index (.OSEBX) it does work.

icon clock
10 |1500

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

Upvotes
18.2k 21 13 21

Here is my code:

import eikon as ek
ek.set_app_id('<your app id>')
ek.get_timeseries([".VINXNOKNI"], fields=["TIMESTAMP","Close","VOLUME"], start_date = "2012-12-01", end_date = "2012-12-27",interval="daily")

Here is the result:

.VINXNOKNI   CLOSE  VOLUME
Date
2012-12-03  143.32     NaN
2012-12-04  142.92     NaN
2012-12-05  143.39     NaN
2012-12-06  144.00     NaN
2012-12-07  144.28     NaN
2012-12-10  144.43     NaN
2012-12-11  145.51     NaN
2012-12-12  144.96     NaN
2012-12-13  143.79     NaN
2012-12-14  144.38     NaN
2012-12-17  144.33     NaN
2012-12-18  145.41     NaN
2012-12-19  145.89     NaN
2012-12-20  146.05     NaN
2012-12-21  145.78     NaN
2012-12-27  146.46     NaN
icon clock
10 |1500

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

Upvotes
1 2 2 4

Thanks I tried this but also doesnt work. I am using the R package on github https://github.com/ahmedmohamedali/eikonapir

This might be related to the R package I guess. When I try exact same code with OSEBX it does work.

icon clock
10 |1500

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

I have tried it and it works properly.

Can you set debug to TRUE and share the output?

get_timeseries(".VINXNOKNI",list("TIMESTAMP","CLOSE","VOLUME"),"2000-01-01T15:04:05","2018-01-02T15:04:05","daily", TRUE, NULL, NULL, NULL, TRUE, TRUE)
result.png (54.9 KiB)
Upvotes
1 2 2 4

> get_timeseries(".VINXNOKNI",list("TIMESTAMP","CLOSE","VOLUME"),"2000-01-01T15:04:05","2018-01-02T15:04:05","daily", TRUE, NULL, NULL, NULL, TRUE, TRUE)

[1] "Request *************************************"
{"Entity":{"E":["TimeSeries"],"W":{"rics":[[".VINXNOKNI"]],"fields":[["TIMESTAMP"],["CLOSE"],["VOLUME"]],"interval":["daily"],"startdate":["2000-01-01T15:04:05"],"enddate":["2018-01-02T15:04:05"]}}} 
[1] "Response *************************************"
[1] "{\"timeseriesData\":[{\"dataPoints\":null,\"errorCode\":\"TSIError\",\"errorMessage\":\"Error: TSINotPermissioned, ErrorCode: TA-TSINotPermissioned, Fault: TSIError, Description: The user does not have permission for the requested data\",\"ric\":\".VINXNOKNI\",\"statusCode\":\"Error\"}]}"
[1] "Response status *************************************"
[1] 200
[1] "{\"timeseriesData\":[{\"dataPoints\":null,\"errorCode\":\"TSIError\",\"errorMessage\":\"Error: TSINotPermissioned, ErrorCode: TA-TSINotPermissioned, Fault: TSIError, Description: The user does not have permission for the requested data\",\"ric\":\".VINXNOKNI\",\"statusCode\":\"Error\"}]}"
icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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