Class BlackSwaptionCashParYieldProductPricer
- java.lang.Object
-
- com.opengamma.strata.pricer.swaption.VolatilitySwaptionCashParYieldProductPricer
-
- com.opengamma.strata.pricer.swaption.BlackSwaptionCashParYieldProductPricer
-
public class BlackSwaptionCashParYieldProductPricer extends VolatilitySwaptionCashParYieldProductPricer
Pricer for swaption with par yield curve method of cash settlement in a log-normal or Black model on the swap rate.The swap underlying the swaption must have a fixed leg on which the forward rate is computed. The underlying swap must be single currency.
The volatility parameters are not adjusted for the underlying swap convention.
The value of the swaption after expiry is 0. For a swaption which already expired, negative number is returned by
SwaptionVolatilities.relativeTime(ZonedDateTime)
.
-
-
Field Summary
Fields Modifier and Type Field Description static BlackSwaptionCashParYieldProductPricer
DEFAULT
Default implementation.
-
Constructor Summary
Constructors Constructor Description BlackSwaptionCashParYieldProductPricer(DiscountingSwapProductPricer swapPricer)
Creates an instance.
-
Method Summary
-
Methods inherited from class com.opengamma.strata.pricer.swaption.VolatilitySwaptionCashParYieldProductPricer
calculateNumeraire, calculateStrike, currencyExposure, fixedLeg, forwardRate, getSwapPricer, impliedVolatility, presentValue, presentValueDelta, presentValueGamma, presentValueSensitivityModelParamsVolatility, presentValueSensitivityRatesStickyStrike, presentValueTheta, validate, validateSwaption
-
-
-
-
Field Detail
-
DEFAULT
public static final BlackSwaptionCashParYieldProductPricer DEFAULT
Default implementation.
-
-
Constructor Detail
-
BlackSwaptionCashParYieldProductPricer
public BlackSwaptionCashParYieldProductPricer(DiscountingSwapProductPricer swapPricer)
Creates an instance.- Parameters:
swapPricer
- the pricer forSwap
-
-