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.



Best Answer

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

    image

    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/