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:
But when I try adding the start date and end date parameters
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)
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:
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.