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
1 0 0 2

Pyton API data different from Eikon

Hello.

I have 2 questions:

1) Tried to get data via Python API for example:

MMKOND=ABMM

And result is (skip the formatting, i did this csv insight my code):

Symbol,Description,CF_BID,CF_ASK,CF_HIGH,CF_LOW,CF_CURR
MMKOND=ABMM,Myanma Kyat Overnight Deposit,,,,,


API request as follow:

answer = eikon_api.get_data(MMKOND=ABMM, CF_BID, parameters={'SDate':'20190929', 'EDate':'20190929', 'interval':'tick'})


And CF_BD, CF_ASK are empty in Data Item Browser also:

As you can see, CF_BID, CF_ASK are empty. But it i request data via application (Price -> Quote history), and data is not empty:




2) How to give paramaters to API, to get historical data for exactly day. Supposed, it should be like follow, but it is not

{'SDate':'20190929', 'EDate':'20190929', 'interval':'history'})

Instead of it , API returns onlt latest data for requested day.

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
1570003798400.png (49.3 KiB)
1570003838425.png (50.7 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 @vsoloviev

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 @vsoloviev

I am using JPY= as an example.

I can retrieve BID and ASK using the following code.


However in your case, I cannot retrieve BID and ASK for MMKOND=ABMM duing 2018-10-01 to 2018-11-30.

I am not so sure why the data is not in the time-series database.

You can contact Refinitiv Content Helpdesk to clarify on this issue.


And this is how to retrieve Open, High, Low data.


ahs1.png (93.1 KiB)
ahs2.png (14.7 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.

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.