question

Upvotes
Accepted
45 7 11 10

RSearch: extract curves data

Hello,

I'm trying to extract curves data from Eikon by using Rsearch and DEX2. The data I want to extract are in the attached picture.

Can you tell me how to retrieve it (Maturity and Yield) ?

Thank you !

eikoneikon-com-api
curves.jpg (158.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.

Hello @someName

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

Upvotes
Accepted
39.4k 77 11 27

The yield curve you're looking at is contained in the chain "0#BBEURENEBMK=". You can see this code in the screenshot you included. To view the data structure in this chain type in "0#BBEURENEBMK=" in a Quote app in Eikon and over the mouse pointer over any data elements you're interested in. The tooltip will tell you the RIC and the field name for this data element.
You can retrieve chain constituents using AdxRtChain object of AdfinX Real-Time library. Then for each constituent you can retrieve maturity code in field "GV_TEXT4", par yield in field "RT_YIELD_1" and zero yield in field "SEC_YLD_1" using AdxRtList object. See this tutorial for using AdxRtList in a custom .NET application and this tutorial for using AdxRtChain object to retrieve chains. The latter tutorial talks about using the object in Excel VBA, but the object can also be used in .NET the same way you'd use AdxRtList. The two COM objects are provided by the same COM library.

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
45 7 11 10

Hi @Alex, Thanks for the answer ! It works great !

I have an other question linked to this one then I think it is better to ask it here.

Is it possible to extract historical data for a specific curve ? In the screenshot I provided the Date is set to "latest". But I would like to extract curves with date set to "historical".

Thank you !

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.

It's possible to retrieve zero and par yield history for each constituent (maturity point) of the curve using Eikon .NET APIs. Take a look at this tutorial. You can also use Eikon .NET APIs to retrieve chain constituents and real-time data for this curve. This way you won't need to use AdfinX Real-Time COM library that I suggested in my previous answer. Although it's also possible to use both Eikon COM and Eikon .NET APIs in the same application, so you could use AdfinX Real-Time COM library to retrieve chain constituents and real-time data and Eikon .NET API to retrieve the historical curve.

Great ! Thanks for the answer !

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.