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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
24 1 2 3

Time series for market capitalisation with python

How do I add start and end dates to this request?

data, err = ek.get_data(instruments=[".STOXXE"],fields=["TR.IndexMktCapVendor.value"])

I tried with

data, err = ek.get_data(instruments=[".STOXXE"],fields=["TR.IndexMktCapVendor.value", "TR.IndexMktCapVendor.date"],parameters={'sDate': '2018-01-01', 'eDate': '2019-12-01'})

but am getting an error.



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

You can use "Data Item Browser" to check what parameters are supported on what field.

In this case, TR.IndexMktCapVendor does not support date as an input parameter.

So you cannot retrieve historical data for this field.


You can contact Refinitiv Content Helpdesk to clarify if there is any other fields available which carrying the data you are looking for.

The URL is at https://my.refinitiv.com/


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

Click below to post an Idea Post Idea