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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 2 4

How to get bond rating, yesterday closing price, latest price from eikon API? How should I pass arguments?

ek.get_data(***, [***, ****])

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
9.7k 49 38 60

Hi @yuyang,

If you search around on these forums or look within the Developer Community Portal, you will find many example of how to use the get_data() function. Specifically, the Eikon Data API tutorials place is a good place to start.

In those tutorials, it will discuss some of the ways to figure out which fields and how to construct your calls. Specifically, the DIB (Data Item Browser) within Eikon is a very useful tool. You simply type in the instrument name (in your case the Bond code) and query for the fields, i.e.

For example:

If you can't find the data you are looking for, the best resource for content questions is to go through the Refinitiv Helpdesk.


1571749068706.png (181.4 KiB)
ahs.png (6.9 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea