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
15 6 8 12

How can I get the total return series for indices?

I require the total return series for indices. For eg, I am able to fetch close price for indices like .SPTTEN and .SPTTTK using TR.ClosePrice but I need to fetch the total returns.

eikon#content
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.

1 Answer

· Write an Answer
Upvotes
Accepted
14.4k 30 5 10

Hi @BlackBird,

The data item name (field name) can be search through Data Item Browser and Eikon Data API in Python as below

1693556328239.png

However, the field returned NaN on these instruments

df, err = ek.get_data(['.SPTTEN','.SPTTTK'], ['TR.ClosePrice','TR.TotalReturn'])
df

1693556360473.png

As the moderators on this forum are expertise on Refinitiv APIs usage. However, they do not have deep expertise in every type of content available through Refinitiv products. Such expertise is available through Refinitiv Helpdesk, which can be reached via MyRefinitiv. To be of help, ticket number 12862428 was raised on your behalf and the support team is going to contact you soon to assist with this.

Hope this helps and please let me know in case you have any further questions


1693556328239.png (172.5 KiB)
1693556360473.png (9.5 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.

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.