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-apiworkspaceworkspace-data-apirefinitiv-dataplatform-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.

1 Answer

Upvotes
Accepted
18k 21 12 20

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 5.0 MiB each and 10.0 MiB total.

Ok I see, thanks for quick reply!

Click below to post an Idea Post Idea