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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
2 0 0 0

Extract announcement date of bond issuance in EKON API?

Hi,

I am trying to extract the announcement date of new bond issuance.

I can see it on the screen, but I am not successful with extraction, although I am using the fields name from Quote app in Eikon:

fields=['TR.RIC','TR.FirstAnnouceDate','TR.AnnouceDate']

bonds, err = ek.get_data('list(LIST)',fields)

Thanks!


eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonapibonds
announcment-date.png (137.0 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.

Upvotes
Accepted
18k 21 12 20

Hi @AleksandarPetreski

Please note that you have a typo in your API call.

TR.FirstAnnounceDate (you missed an 'n')

This code works:


ahs.png (8.4 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.

Upvotes
2 0 0 0

Thanks!

Have lost 2 hours for such a trivial error :)

A

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.

Upvotes
18k 21 12 20

Hi @AleksandarPetreski

Quick tip: click on the small icon on the bottom left of DIB screen to copy the field formula to clipboard.


Cheers :)


ahs.png (101.0 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