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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 1

How to get all the RICs that contains certain strings?

I am trying to get all the IFC investable indexes for all the countries possible. The index starts with .IPDxx

For example, Taiwan's IFC investable index is .IPDTW and Egypt's IFC investable index is .IPDET

Is there a way to retrieve all the RICs that contains ".IPD" ?

I can load individual index, but not able to load everything country..





rics
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

Upvotes
Accepted
6.8k 14 5 8

hi @Eikon.Student

you may consider using the search function in the RDP library, for more detail, you can check this article

please find an example code for your requirement below (the app key used is the same with Eikon app key, or you can use this default codebook app key if the code is run in Codebook)

import refinitiv.dataplatform as rdp
rdp.open_desktop_session('DEFAULT_CODE_BOOK_APP_KEY')
rdp.search(
    filter = "startswith(RIC,'.IPD')",
    select = 'RIC,DocumentTitle',
)

here's the result

1640775494399.png

hope this could help


1640775494399.png (33.6 KiB)
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.