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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 0 2 1

How to pull historical Economic Indicator?

I'm trying to get historical data for `CNGYDY=ECI`. I'd like to find a way to use the Eikon API that pull the equivalent of

=RHistory("CNGYDY=ECI","ECONOMIC.Timestamp;ECONOMIC.Value"," START:29-Jun-2018 END:30-Mar-2020 INTERVAL:1Q",,"TSREPEAT:NO")

I have tried a few ways such as

ek.get_data('CNGYDY=ECI', ["ECONOMIC.Timestamp", "ECONOMIC.Value"], {'SDate':'1-1-2010', 'EDate':'1-1-2020'})

and

ek.get_timeseries('CNGYDY=ECI', interval='monthly')

but nothing worked. Would love to hear some suggestions! Thanks,

eikoneikon-data-apipythonworkspaceworkspace-data-apirefinitiv-dataplatform-eikonhistoricaleconomic-data
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

Upvotes
Accepted
18.1k 21 12 20

Hi @pdinh

You can use internal = "quarterly"


ahs.jpg (58.4 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.