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
11 1 1 1

Getting empty values in last few dates when calling 'eikon.get_data' function from Matlab?

code.PNGHi,

I am having issue with data retrieval from Eikon for the given date range. i am using following function to retrieve Eikon data by using Eikon Data API: py.eikon.get_data(RIC, Field, Date and other additional arguments)

Refer the code attached here:


1. Called the function with date range as ‘2000-04-06 - 2001-04-06’

Getting last few values (‘2001-03-27’ to ‘2001-04-06’) displayed as empty

2. Called the function with date range as ‘2000-04-06 - 2002-04-05’

Getting last few values (‘2002-03-12’ to ‘2002-04-05’) displayed as empty. But I could see values for dates ‘2001-03-27’ to ‘2001-04-06’ (Which were missing in the step 1’s output)


How to get rid of this and get the field values for the given date range without empty string?

Thank You,

Priya

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
code.png (12.5 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.

Hello @priyanka,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If yes, please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
18.2k 21 13 21

Hi @priyanka

I just tested the API call on Python (I do not use MathLab).

So it seems that the TR.PriceClose field does not support adjusted parameters.

Please use TR.ClosePrice field.





ahs.png (109.9 KiB)
ahs2.png (59.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.

Thank You So much chavalit! Its working fine now.

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.