question

Upvotes
Accepted
7 1 0 2

The access to field(s) denied: rd.getdata - TR.RDNExchangeCode

Hi,

I want to get exchange code from rics. using rd library , which direct to /data/datagrid/beta1

import refinitiv.data as rd
 rd.open_session()
 
 rd.get_data(universe=["MSFT.O","IBM","GOOG.O","AAPL.O","SPY"],
             fields=["TR.RDNExchangeCode"])
 
 
 rd.close_session()
 

It return these errors. Please suggest if I need any permission to get these fields?

Exception Error code 221 | The access to field(s) denied. Requested universes: ['MSFT.O', 'IBM', 'GOOG.O', 'AAPL.O', 'SPY']. Requested fields: ['TR.RDNExchangeCode']
#productdatarefinitiv-dataplatform-libraries
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.

@yok

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

Upvotes
Accepted
14.2k 30 5 10

Hi @yok ,

Yes, the error message indicates that your account doesn't have a permission to this field.

I tried the code you used and got a result as below.

1682057702456.png


1682057702456.png (17.1 KiB)
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
7 1 0 2

Thank you for your confirm

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.