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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 3

Retrieve swaption volcube

Hi, team,

Wondering if there is a way to retrieve swaption volcube, for example, USD1YSML=R.

Thanks

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythondata
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvote
Accepted
18k 21 12 20

Hi @TZhang14

First, you have to collect all of underlying instrument codes.

This is an example to get the first 14 underlying codes (from LONGLINK1 to LONGLINK14 fields)

(I skipped some of the fields but you can get the idea)

You can pass in "LONGNEXTLR" value as instrument code to get the next available underlying instrument codes.

I won't show the code here but you will have the following:

USD1YSML=R

1#USD1YSML=R

2#USD1YSML=R

...

...

9#USD1YSML=R

A#USD1YSML=R

So, you will have all the underlying instrument codes.

Next, you can pass in this list of instrument codes to get the data.

Hope this help.


swap1.jpg (61.6 KiB)
swap2.jpg (51.7 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Thanks a lot.

Click below to post an Idea Post Idea