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
61 3 3 4

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-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
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.

1 Answer

· Write an Answer
Upvotes
Accepted
39.4k 77 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 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.