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

DIB does not work to extract a Bond's Coupon Rate

I am trying to extract the coupon rate of the bond presented on the picture above. From the DIB, i can see that it has a coupon rate but when I run the following code:


d_cr_ISIN, e = ek.get_data(ISIN, ['COUPN_RATE(SDate=0).date','COUPN_RATE(SDate=0)'])


I get the following output:

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
pergunta.png (103.1 KiB)
output.png (16.8 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 @catolica_user27

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


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS

1 Answer

· Write an Answer
Upvotes
Accepted
18.2k 21 13 21

Hi @catolica_user27

The first issue is that different field supports different parameters.

You have to click on the parameter tab and check what parameter is supported.


The second issue is that field from realtime database does not support ISIN instrument.


You can try to map ISIN to RIC first:

ISIN = ['XS0213101073','US912828YC87']
df,e = ek.get_data(ISIN, 'TR.RIC')

rics = df['RIC'].tolist()

d_cr_ISIN, e = ek.get_data(rics, ['COUPN_RATE','COUPN_DATE'])
d_cr_ISIN

ahs1.jpg (217.4 KiB)
ahs2.jpg (41.9 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.