Logo
Reference manual - version qle_version
swaptionvolatilityconverter.hpp File Reference

Convert swaption volatilities from one type to another. More...

#include <ql/indexes/iborindex.hpp>
#include <ql/indexes/swapindex.hpp>
#include <ql/termstructures/volatility/volatilitytype.hpp>
#include <ql/shared_ptr.hpp>

Functions

Real convertSwaptionVolatility (const Date &asof, const Period &optionTenor, const Period &swapTenor, const QuantLib::ext::shared_ptr< SwapIndex > &swapIndexBase, const QuantLib::ext::shared_ptr< SwapIndex > &shortSwapIndexBase, const DayCounter volDayCounter, const Real strikeSpread, const Real inputVol, const QuantLib::VolatilityType inputType, const Real inputShift, const QuantLib::VolatilityType outputType, const Real outputShift)
 swaption vol converter

Detailed Description

Convert swaption volatilities from one type to another.