public final class BlackFlatCmsPeriodPricer extends Object
Reference: Brotherton-Ratcliffe, R. and Iben, B. (1997). Advanced Strategies in financial Risk Management, Chapter Yield Curve Application of Swap Products. New York Institute of Finance. OpenGamma implementation note: Pricing of CMS by replication and other approaches, Version 2.1, May 2016.
| Modifier and Type | Method and Description |
|---|---|
static BlackFlatCmsPeriodPricer |
of(DiscountingSwapProductPricer swapPricer)
Obtains the pricer.
|
CurrencyAmount |
presentValue(CmsPeriod cmsPeriod,
RatesProvider provider,
SwaptionVolatilities swaptionVolatilities)
Computes the present value by replication in SABR framework with extrapolation on the right.
|
public static BlackFlatCmsPeriodPricer of(DiscountingSwapProductPricer swapPricer)
swapPricer - the pricer for underlying swappublic CurrencyAmount presentValue(CmsPeriod cmsPeriod, RatesProvider provider, SwaptionVolatilities swaptionVolatilities)
cmsPeriod - the CMSprovider - the rates providerswaptionVolatilities - the swaption volatilitiesCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.