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

Retrieve swaption volcube

Hi, team,

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

Thanks

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

· Write an Answer
Upvote
Accepted
18.2k 21 13 21

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 512.0 KiB each and 1.0 MiB total.

Thanks a lot.

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.