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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
39 0 2 3

Eikon permission error

Hi, I am trying to download data using eikon api. However, when I try the code

df = ek.get_timeseries(["MSFT.O"], start_date="2016-01-01", end_date="2016-01-10")

I am getting the following error:

get_timeseries raise EikonError('Error', message=ts_error_messages)
EikonError: Error code Error | MSFT.O: The user does have permission for the requested data

I can download Eikon data using the Excel addin without problem. Why do I get this error message?

Thanks in advance.

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonapi
icon clock
10 |1500

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

Upvotes
Accepted
4.6k 26 7 22

@8477ab9c-f15e-4a78-9279-fd670f296382 I had a look at the admin tool, it shows you don't have access to either live or delayed data from NASDAQ. Just out of curiosity, could you show me a screenshot of the results from the following excel function:

=RHistory("MSFT.O",".Timestamp;.Close","INTERVAL:1D NBROWS:10")
icon clock
10 |1500

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

I get the following "You do not have permission to view these RICs". And I tried the same code with for instance .dMIUS00000PUS instead, and I can get the data without problem. So you are absolutely right that the problem is the access. I will ask our account manager regarding the access.

Upvotes
39.2k 75 11 27

@8477ab9c-f15e-4a78-9279-fd670f296382
I don't see any reason why you should receive the "not permissioned" error when retrieving daily price history for stocks using Eikon Data APIs. Are you able to reproduce the issue consistently? Do you receive this error only with MSFT.O or with other RICs as well?
Could you also try the call below. Are you able to retrieve daily price history using this call?

ek.get_data(["MSFT.O"],["TR.CLOSEPRICE.date","TR.OPENPRICE","TR.HIGHPRICE","TR.LOWPRICE","TR.CLOSEPRICE"],{"SDate":"20160101","EDate":"20160110"})
icon clock
10 |1500

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

It seems that the issue is with all the securities having NASDAQ as the source.

Click below to post an Idea Post Idea