#include <qle/termstructures/proxyswaptionvolatility.hpp>
|
| ProxySwaptionVolatility (const QuantLib::Handle< SwaptionVolatilityStructure > &baseVol, QuantLib::ext::shared_ptr< QuantLib::SwapIndex > baseSwapIndexBase, QuantLib::ext::shared_ptr< QuantLib::SwapIndex > baseShortSwapIndexBase, QuantLib::ext::shared_ptr< QuantLib::SwapIndex > targetSwapIndexBase, QuantLib::ext::shared_ptr< QuantLib::SwapIndex > targetShortSwapIndexBase) |
|
QuantLib::Rate | minStrike () const override |
|
QuantLib::Rate | maxStrike () const override |
|
QuantLib::Date | maxDate () const override |
|
const QuantLib::Date & | referenceDate () const override |
|
QuantLib::VolatilityType | volatilityType () const override |
|
QuantLib::Calendar | calendar () const override |
|
const QuantLib::Period & | maxSwapTenor () const override |
|
|
QuantLib::ext::shared_ptr< QuantLib::SmileSection > | smileSectionImpl (const QuantLib::Date &optionDate, const QuantLib::Period &swapTenor) const override |
|
QuantLib::ext::shared_ptr< QuantLib::SmileSection > | smileSectionImpl (QuantLib::Time optionTime, QuantLib::Time swapLength) const override |
|
QuantLib::Volatility | volatilityImpl (QuantLib::Time optionTime, QuantLib::Time swapLength, QuantLib::Rate strike) const override |
|
Definition at line 31 of file proxyswaptionvolatility.hpp.
◆ ProxySwaptionVolatility()
ProxySwaptionVolatility |
( |
const QuantLib::Handle< SwaptionVolatilityStructure > & |
baseVol, |
|
|
QuantLib::ext::shared_ptr< QuantLib::SwapIndex > |
baseSwapIndexBase, |
|
|
QuantLib::ext::shared_ptr< QuantLib::SwapIndex > |
baseShortSwapIndexBase, |
|
|
QuantLib::ext::shared_ptr< QuantLib::SwapIndex > |
targetSwapIndexBase, |
|
|
QuantLib::ext::shared_ptr< QuantLib::SwapIndex > |
targetShortSwapIndexBase |
|
) |
| |
Definition at line 27 of file proxyswaptionvolatility.cpp.
35 enableExtrapolation(baseVol->allowsExtrapolation());
36}
QuantLib::ext::shared_ptr< QuantLib::SwapIndex > baseSwapIndexBase_
QuantLib::ext::shared_ptr< QuantLib::SwapIndex > baseShortSwapIndexBase_
QuantLib::Handle< QuantLib::SwaptionVolatilityStructure > baseVol_
QuantLib::ext::shared_ptr< QuantLib::SwapIndex > targetSwapIndexBase_
QuantLib::ext::shared_ptr< QuantLib::SwapIndex > targetShortSwapIndexBase_
◆ minStrike()
QuantLib::Rate minStrike |
( |
| ) |
const |
|
override |
◆ maxStrike()
QuantLib::Rate maxStrike |
( |
| ) |
const |
|
override |
◆ maxDate()
QuantLib::Date maxDate |
( |
| ) |
const |
|
override |
◆ referenceDate()
const QuantLib::Date & referenceDate |
( |
| ) |
const |
|
override |
◆ volatilityType()
QuantLib::VolatilityType volatilityType |
( |
| ) |
const |
|
override |
◆ calendar()
QuantLib::Calendar calendar |
( |
| ) |
const |
|
override |
◆ maxSwapTenor()
const QuantLib::Period & maxSwapTenor |
( |
| ) |
const |
|
override |
◆ smileSectionImpl() [1/2]
QuantLib::ext::shared_ptr< QuantLib::SmileSection > smileSectionImpl |
( |
const QuantLib::Date & |
optionDate, |
|
|
const QuantLib::Period & |
swapTenor |
|
) |
| const |
|
overrideprivate |
◆ smileSectionImpl() [2/2]
QuantLib::ext::shared_ptr< QuantLib::SmileSection > smileSectionImpl |
( |
QuantLib::Time |
optionTime, |
|
|
QuantLib::Time |
swapLength |
|
) |
| const |
|
overrideprivate |
◆ volatilityImpl()
Volatility volatilityImpl |
( |
QuantLib::Time |
optionTime, |
|
|
QuantLib::Time |
swapLength, |
|
|
QuantLib::Rate |
strike |
|
) |
| const |
|
overrideprivate |
◆ baseVol_
QuantLib::Handle<QuantLib::SwaptionVolatilityStructure> baseVol_ |
|
private |
◆ baseSwapIndexBase_
QuantLib::ext::shared_ptr<QuantLib::SwapIndex> baseSwapIndexBase_ |
|
private |
◆ baseShortSwapIndexBase_
QuantLib::ext::shared_ptr<QuantLib::SwapIndex> baseShortSwapIndexBase_ |
|
private |
◆ targetSwapIndexBase_
QuantLib::ext::shared_ptr<QuantLib::SwapIndex> targetSwapIndexBase_ |
|
private |
◆ targetShortSwapIndexBase_
QuantLib::ext::shared_ptr<QuantLib::SwapIndex> targetShortSwapIndexBase_ |
|
private |