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

Python API pull chain data for interest rates

Hello,


Is it possible to pull the RICs for the EURAB6EIRS= instrument?

I have tried the method in this similar question but to no avail.

https://community.developers.refinitiv.com/questions/70674/python-command-to-get-rics-associated-with-a-chain.html

This does not work as intended.

df, err = ek.get_data(

instruments = ['EURAB6EIRS='],

fields = ['BID','ASK']

)

display(df)


I have tried also with 0# infront of the ticker, again no luck.

Thank you for your help!




eikoneikon-data-apipythonrest-apichain-ric
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.

Hello @ds9

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

@ds9

Hi,

Please be informed that a reply has been verified as correct in answering the question, and marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvote
Accepted
79.2k 251 52 74

@ds9

Yes, EURAB6EIRS= is a chain but it may not be recognized by the Eikon Data API.

You can use the code mentioned in this thread to get RICs in that chain.

Then, use the below code to get data.

ricList = getUnderlying('EURAB6EIRS=')
df, err = ek.get_data(instruments = ricList,fields = ['BID','ASK'])
display(df)

1634790836099.png



1634790836099.png (7.7 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.