Wrong Tick data using get_timeseries()

I am using the eikon python library and the get_timeseries() function

my command looks like:

ek.get_timeseries(ric_list,
fields=['CLOSE'],
start_date='2023-02-21T12:00:00',
interval="minute")

Here, ric_list is a list with multiplie RICs.

I get the following output:

1677166021504.png

In above for example take a look at RIC "X03F.DE". The API returns nan till around 16:00:00. However, when I look up the price in refinitiv platform itself I see the last trade price as 167,0900 at 12:03:50 in the following:

1677166208388.png


Best Answer

  • @siddharth.marya

    I think you need to compare the interval minute from the get_timeseries method with the Eikon Chart app with the same minute interval, not time and sales.

    To get time and sales data, please try the following code.

    ek.get_timeseries(['X03F.DE'],
                      #fields=['*'],
                      start_date='2023-02-21T12:00:00',
                      interval="tas",
                      raw_output=True) 

    However, the output can't be converted to a data frame. I need to display it as raw output.

Answers

  • Hi @siddharth.marya ,

    Could you please let us know the list of RICs or how many RICs are used in this code?

    as get_timeseries has limitations, mentioned in Eikon Data API Usage and Limits Guideline. like below

    get_timeseries: The current limit value (10-Oct-2019) is 3,000 data points (rows) for interday intervals and 50,000 data points for intraday intervals. This limit applies to the whole request, whatever the number of requested instrument.

    Hence, if the RICs list is too big and exceeds the get_timesires limit, you should split the RICs list and send it as multiple requests.

    Please let me know in case you have any further questions.

  • 18 RICs. I understand that there might be a limit. But it is not about getting the dfata it is about getting the wrong data back. If it was a limit issue I would not be getting this data point at all but it is returning me a datapoint for this time point for other RICs and for some it gives nan and for some of these ETFs I can see the data point on the refinitiv platform itself so it is a mismatch problem