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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 1 1

Index Constituents of delayed RIC (Russel 3000)

Hi, i have a delayed access to Russel 3000 index constituents (Do not have permission to get with "TR.IndexConstituentRIC") , so i get the data in excel with this formula -> =TR("0#.RUA","", "SKIP:1-1")

How can i get this with python?

Thanks

eikonpython
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
1.7k 2 4 7

@elie ,

This seems to be a permission issue, could you please try to print an error returned from get_data function using the code below to confirm this assumption?

df, err = ek.get_data(["0#.RUA"],['DSPLY_NAME'])
print(err)

In case an error returned mentioned that you don't have permission, you can contact Refinitiv Content Helpdesk, which can be reached using any method below


1634728225079.png (14.5 KiB)
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
38.1k 69 35 53

@elie

I can use the following code to retrieve Russel 3000 index constituents.

df, err = ek.get_data(["0#.RUA"],['DSPLY_NAME'])
df

The output is:

1634522075954.png


1634522075954.png (20.9 KiB)
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.

Doesn't work for me, I get NaN

Click below to post an Idea Post Idea