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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
5 1 1 2

Download AllCoCo list in python

I am trying to obtain the list of banks and their identifiers that issue CoCos (contingent convertible bonds) from the 0#ALLCOCO chain RIC list into a pandas DataFrame.

I ran a couple of the Python API examples, and it all works like a charm. But the ALLCOCO list gives me a headache.

Any help is welcome!

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonchain-ric
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.

Hi @blucap,

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

Upvote
Accepted
4.6k 26 7 22

Try doing this:

constituents_data, err = tr.get_data(instruments=['0#ALLCOCO='], fields=['OFFCL_CODE'])
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.

Works like a charm! Thank you.

Click below to post an Idea Post Idea