Eikon API proxy timeseries start date ignored

A call to

ek.get_timeseries(["aUSCPTANIFR"], start_date="2015-01-01", end_date="2017-01-1")

returns data beginning from year 1917, while end date is respected. Specifying other date formats, does not work either.

Best Answer

  • iain.scott
    Answer ✓

    Hi Gurpreet,

    We have identify a server issue causing this behaviour and a fix is planned to return an appropriate error in this scenario. This should be rolled out within the next few weeks.

    Thanks

    Iain

Answers

  • Available timeseries data for this RIC are only monthly, quarterly or yearly values.

    Any request with other interval (tick, minute, hour, session, daily and weekly) returns all data from 1917.

    Example :

    >>> ek.get_timeseries(["aUSCPTANIFR"], start_date="2015-01-01", end_date="2017-01-1", interval='quarterly')
    aUSCPTANIFR VALUE
    Date
    2015-03-31 -0.062705
    2015-06-30 -0.038560
    2015-09-30 0.109506
    2015-12-31 0.467297
    2016-03-31 1.081141
    2016-06-30 1.047253
    2016-09-30 1.117932
    2016-12-31 1.801049

  • Thanks for the reponse. It still doesn't make sense why invalid data would be returned, if interval was omitted. At least, a user would like to see an error message stating a required field is missing.