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
1 0 1 1

Hello - While using Codebook app on Eikon, is there a way to retrieve the RICs fulfilling a certain condition- say I need to retrieve all Equity Option RICs for which FID 1056 is blank?

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

Upvotes
Accepted
18.2k 21 13 21

Hi @sandhya.rao

Please see this example:


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

Upvotes
1 0 1 1

@chavalit.jintamalit- Thanks for your reply. Is it possible to get similar output for the entire universe of Equity Option RICs at one go(if not say for all the options trading on a particular exchange)?

I see you are using individual RIC here to get the chain RIC. But say I have the chains already with me. So can I specify all the chains available within the get data function or is there any limitation.

I believe that as the RIC universe is vast there could be limitations with regard how much info could be retrieved. But I wanted to know as this would help in identifying suspects for various exchanges based on what value the FID should hold.

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.

Upvotes
18.2k 21 13 21

Hi @sandhya.rao

When you input more than one chain RIC to get_data, the chains do not get expanded.

So you cannot pass in a list of chain RICs.

You can make a loop in Python to loop your chain RIC list.

This sample just print out the first 3 rows for each chain RIC.


ahs.png (6.9 KiB)
ahs2.png (11.0 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.

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.