public class HullWhiteSwaptionPhysicalProductPricer extends Object
Reference: Henrard, M. "The Irony in the derivatives discounting Part II: the crisis", Wilmott Journal, 2010, 2, 301-316
| Modifier and Type | Field and Description |
|---|---|
static HullWhiteSwaptionPhysicalProductPricer |
DEFAULT
Default implementation.
|
| Constructor and Description |
|---|
HullWhiteSwaptionPhysicalProductPricer(DiscountingPaymentPricer paymentPricer)
Creates an instance.
|
public static final HullWhiteSwaptionPhysicalProductPricer DEFAULT
public HullWhiteSwaptionPhysicalProductPricer(DiscountingPaymentPricer paymentPricer)
paymentPricer - the pricer for Paymentpublic CurrencyAmount presentValue(ResolvedSwaption swaption, RatesProvider ratesProvider, HullWhiteOneFactorPiecewiseConstantParametersProvider hwProvider)
The result is expressed using the currency of the swapion.
swaption - the productratesProvider - the rates providerhwProvider - the Hull-White model parameter providerpublic MultiCurrencyAmount currencyExposure(ResolvedSwaption swaption, RatesProvider ratesProvider, HullWhiteOneFactorPiecewiseConstantParametersProvider hwProvider)
swaption - the productratesProvider - the rates providerhwProvider - the Hull-White model parameter providerpublic PointSensitivityBuilder presentValueSensitivityRates(ResolvedSwaption swaption, RatesProvider ratesProvider, HullWhiteOneFactorPiecewiseConstantParametersProvider hwProvider)
The present value sensitivity of the product is the sensitivity of the present value to the underlying curves.
swaption - the productratesProvider - the rates providerhwProvider - the Hull-White model parameter providerpublic DoubleArray presentValueSensitivityModelParamsHullWhite(ResolvedSwaption swaption, RatesProvider ratesProvider, HullWhiteOneFactorPiecewiseConstantParametersProvider hwProvider)
swaption - the productratesProvider - the rates providerhwProvider - the Hull-White model parameter providerCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.