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 0 1 0

Historical index weight data

Hello, I'm trying to get historical index data. Below request of returns data works fine but as soon as I try TR.IndexConstituentWeightPercent it does not give me the historical data longer back than ~2018. I'm ok on the permissioning side and have tried datatypes for index shares as well but I don't get the historical data. Do you know of any limit of getting out historical index weights? is there any other way I should write the function? Many thanks, Johan instr = “0#.OMXSBCAPGI(2003-01-23)” fields = ['TR.CompanyName', 'TR.PriceClose(2003-01-23)', 'TR.TotalReturn(2003-01-23)', 'TR.TotalReturn1Wk(2003-01-23)', 'TR.TotalReturn1Mo(2003-01-23)', 'TR.TotalReturn3Mo(2003-01-23)', 'TR.TotalReturn6Mo(2003-01-23)', 'TR.TotalReturn52Wk(2003-01-23)'] data = ek.get_data(instr, fields)

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.

@johan.rahmqvist

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 most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
18.2k 21 13 21

Hi @johan.rahmqvist

I could retrieve TR.IndexConstituentWeightPercent back to 2019-06-12.


The API call is correct but you have to contact Refinitiv Content Helpdesk at https://my.refinitiv.com to get an authoritative answer as to why the data is not available on 2019-06-11 or before.


ahs.png (62.9 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.

Ok I see, thanks for quick reply!

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.