QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
YoYOptionletStripper Class Referenceabstract

Interface for inflation cap stripping, i.e. from price surfaces. More...

#include <yoyoptionletstripper.hpp>

+ Inheritance diagram for YoYOptionletStripper:
+ Collaboration diagram for YoYOptionletStripper:

Public Member Functions

virtual ~YoYOptionletStripper ()=default
 
virtual void initialize (const ext::shared_ptr< YoYCapFloorTermPriceSurface > &, const ext::shared_ptr< YoYInflationCapFloorEngine > &, Real slope) const =0
 YoYOptionletStripper interface. More...
 
virtual Rate minStrike () const =0
 
virtual Rate maxStrike () const =0
 
virtual std::vector< Ratestrikes () const =0
 
virtual std::pair< std::vector< Rate >, std::vector< Volatility > > slice (const Date &d) const =0
 

Protected Attributes

ext::shared_ptr< YoYCapFloorTermPriceSurfaceYoYCapFloorTermPriceSurface_
 
ext::shared_ptr< YoYInflationCapFloorEnginep_
 
Period lag_
 
Frequency frequency_
 
bool indexIsInterpolated_
 

Detailed Description

Interface for inflation cap stripping, i.e. from price surfaces.

Strippers return K slices of the volatility surface at a given T. In initialize they actually do the stripping along each K.

Definition at line 37 of file yoyoptionletstripper.hpp.

Constructor & Destructor Documentation

◆ ~YoYOptionletStripper()

virtual ~YoYOptionletStripper ( )
virtualdefault

Member Function Documentation

◆ initialize()

virtual void initialize ( const ext::shared_ptr< YoYCapFloorTermPriceSurface > &  ,
const ext::shared_ptr< YoYInflationCapFloorEngine > &  ,
Real  slope 
) const
pure virtual

◆ minStrike()

virtual Rate minStrike ( ) const
pure virtual

◆ maxStrike()

virtual Rate maxStrike ( ) const
pure virtual

◆ strikes()

virtual std::vector< Rate > strikes ( ) const
pure virtual

◆ slice()

virtual std::pair< std::vector< Rate >, std::vector< Volatility > > slice ( const Date d) const
pure virtual

Member Data Documentation

◆ YoYCapFloorTermPriceSurface_

ext::shared_ptr<YoYCapFloorTermPriceSurface> YoYCapFloorTermPriceSurface_
mutableprotected

Definition at line 55 of file yoyoptionletstripper.hpp.

◆ p_

ext::shared_ptr<YoYInflationCapFloorEngine> p_
mutableprotected

Definition at line 56 of file yoyoptionletstripper.hpp.

◆ lag_

Period lag_
mutableprotected

Definition at line 57 of file yoyoptionletstripper.hpp.

◆ frequency_

Frequency frequency_
mutableprotected

Definition at line 58 of file yoyoptionletstripper.hpp.

◆ indexIsInterpolated_

bool indexIsInterpolated_
mutableprotected

Definition at line 59 of file yoyoptionletstripper.hpp.