Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Eikon Data APIs /

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

avatar image
Question by mickael.sabet · Aug 24, 2018 at 10:08 AM · eikoneikon-data-apipythonworkspaceworkspace-data-apirefinitiv-dataplatform-eikonhistoricalvolatilityswaps

Retrieving historical swaption volatility with ek.get_data

Hello,

I am trying to retrieve historical BasisPoint OIS-discounted swaption volatility in Python. I managed to retrieve the latest values with the following command for example for EUR 1m10y volatility:

ek.get_data('EUR1MX10Y=ICAP', 'GEN_VAL1')

But when I try adding the start date and end date parameters

ek.get_data('EUR1MX10Y=ICAP', 'GEN_VAL1',{'SDate':'2018-08-21','EDate':'2018-08-23'})

the function returns exactly the same thing i.e. latest values.

If that is of any help, the way I retrieve this data in Excel is with the following function:

=RHistory(ric,"BP_VOLT.TIMESTAMP;BP_VOLT.VALUE","START:"& start_date &" END:"& end_date &" INTERVAL:1D",,"SORT:DESC TSREPEAT:N", target_cell)

Thank you.

Mickael

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Zhenya Kovalyov · Aug 24, 2018 at 10:43 AM

@mickael.sabet

It is a little bit confusing, but I will try my best to explain.

Eikon Data API gives you the access to several data sources. The following request will connect to the real-time data system and give you the latest snapshot of the field:

ek.get_data('EUR1MX10Y=ICAP', 'GEN_VAL1')

In order to access the time series for the value (which may or may not be present) you will need to use the ek.get_timeseries() call. The bad news is that this functionality is not yet available in the beta API. At the moment you can only get the data for the default view (.TIMESTAMP, .VALUE in RHistory) and is physically the BID price from EUR1MX10Y=ICAP.

Hope this helps.

Comment

People who like this

0 Show 1 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
mickael.sabet · Aug 24, 2018 at 10:50 AM 0
Share

Thank you Zhenya, that's very helpful. Do you know when this functionality will become available?

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
7 People are following this question.

Related Questions

Trying to fetch Close Bid Price for CMO tranche from Python

Find or calculate intraday volatility.

Swaption bp vol time series data retreival in python

Collected implied volatility using Eiklon Python package

Inconsistent Data release

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • FX Venues
    • FX Trading – RFQ Maker
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • Yield Book Analytics
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges