C# Class QLNet.InflationCouponPricer

Base inflation-coupon pricer. The main reason we can't use FloatingRateCouponPricer as the base is that it takes a FloatingRateCoupon which takes an InterestRateIndex and we need an inflation index (these are lagged). The basic inflation-specific thing that the pricer has to do is deal with different lags in the index and the option e.g. the option could look 3 months back and the index 2. We add the requirement that pricers do inverseCap/Floor-lets. These are cap/floor-lets as usually defined, i.e. pay out if underlying is above/below a strike. The non-inverse (usual) versions are from a coupon point of view (a capped coupon has a maximum at the strike). We add the inverse prices so that conventional caps can be priced simply.
Inheritance: QLNet.Patterns.DefaultObservable, IObserver
ファイルを表示 Open project: ammachado/QLNet Class Usage Examples

Public Methods

Method Description
capletPrice ( double effectiveCap ) : double
capletRate ( double effectiveCap ) : double
floorletPrice ( double effectiveFloor ) : double
floorletRate ( double effectiveFloor ) : double
initialize ( QLNet.InflationCoupon i ) : void
swapletPrice ( ) : double
swapletRate ( ) : double
update ( ) : void

Method Details

capletPrice() public method

public capletPrice ( double effectiveCap ) : double
effectiveCap double
return double

capletRate() public method

public capletRate ( double effectiveCap ) : double
effectiveCap double
return double

floorletPrice() public method

public floorletPrice ( double effectiveFloor ) : double
effectiveFloor double
return double

floorletRate() public method

public floorletRate ( double effectiveFloor ) : double
effectiveFloor double
return double

initialize() public method

public initialize ( QLNet.InflationCoupon i ) : void
i QLNet.InflationCoupon
return void

swapletPrice() public method

public swapletPrice ( ) : double
return double

swapletRate() public method

public swapletRate ( ) : double
return double

update() public method

public update ( ) : void
return void