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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
61 1 0 2

How can I pull the asset type given an ISIN or a RIC?

Hello, I am iterating over asset lists of certain funds. Is there a way to distinguish between the asset types in the python API? If I have the ISIN or the RIC of a stock and an index for example? Thank you!

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
39.2k 75 11 27

Use TR.AssetCategoryCode and/or TR.AssetCategory fields. E.g.

ek.get_data(['US0378331005','US345370CS72','F5YUSAX=R', '.SPX'],
            ['TR.AssetCategoryCode','TR.AssetCategory'])
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