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
24 2 3 4

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-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.

1 Answer

· Write an Answer
Upvotes
Accepted
18.2k 21 13 21

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 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.