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