public class VerticalSpreadSabrOvernightInArrearsCapletFloorletBinaryPeriodPricer extends Object
The pricing methodologies is based on 'call spread' approach.
The value of the caplet/floorlet after expiry is a fixed payoff amount. The value is zero if valuation date is after payment date of the caplet/floorlet.
| Modifier and Type | Field and Description |
|---|---|
static VerticalSpreadSabrOvernightInArrearsCapletFloorletBinaryPeriodPricer |
DEFAULT
Default implementation.
|
| Constructor and Description |
|---|
VerticalSpreadSabrOvernightInArrearsCapletFloorletBinaryPeriodPricer(SabrOvernightInArrearsCapletFloorletPeriodPricer capletPricer,
double spread)
Creates an instance.
|
public static final VerticalSpreadSabrOvernightInArrearsCapletFloorletBinaryPeriodPricer DEFAULT
public VerticalSpreadSabrOvernightInArrearsCapletFloorletBinaryPeriodPricer(SabrOvernightInArrearsCapletFloorletPeriodPricer capletPricer, double spread)
capletPricer - the pricer for OvernightInArrearsCapletFloorletPeriodspread - the spread between the approximating options strikespublic CurrencyAmount presentValue(OvernightInArrearsCapletFloorletBinaryPeriod period, RatesProvider ratesProvider, SabrParametersIborCapletFloorletVolatilities sabrVolatilities)
period - the Ibor caplet/floorlet periodratesProvider - the rates providersabrVolatilities - the SABR parameterspublic PointSensitivityBuilder presentValueSensitivityRatesStickyModel(OvernightInArrearsCapletFloorletBinaryPeriod period, RatesProvider ratesProvider, SabrParametersIborCapletFloorletVolatilities sabrVolatilities)
The present value rates sensitivity of the caplet/floorlet is the sensitivity of the present value to the underlying curves.
period - the Ibor caplet/floorlet periodratesProvider - the rates providersabrVolatilities - the SABR parameterspublic PointSensitivityBuilder presentValueSensitivityModelParamsSabr(OvernightInArrearsCapletFloorletBinaryPeriod period, RatesProvider ratesProvider, SabrParametersIborCapletFloorletVolatilities sabrVolatilities)
The present value rates sensitivity of the caplet/floorlet is the sensitivity of the present value to the underlying curves.
period - the Ibor caplet/floorlet periodratesProvider - the rates providersabrVolatilities - the SABR parameterspublic Pair<OvernightInArrearsCapletFloorletPeriod,OvernightInArrearsCapletFloorletPeriod> vanillaOptionVerticalSpreadPair(OvernightInArrearsCapletFloorletBinaryPeriod binary)
binary - the binary caplet/floorletCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.