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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 0 0 1

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-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
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 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
18k 21 12 20

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea