public static final class SabrParametersSwaptionVolatilities.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<SabrParametersSwaptionVolatilities>
SabrParametersSwaptionVolatilities.| Modifier and Type | Method and Description |
|---|---|
SabrParametersSwaptionVolatilities |
build() |
SabrParametersSwaptionVolatilities.Builder |
convention(FixedFloatSwapConvention convention)
Sets the swap convention that the volatilities are to be used for.
|
SabrParametersSwaptionVolatilities.Builder |
dataSensitivityAlpha(DoubleArray... dataSensitivityAlpha)
Sets the
dataSensitivityAlpha property in the builder
from an array of objects. |
SabrParametersSwaptionVolatilities.Builder |
dataSensitivityAlpha(List<DoubleArray> dataSensitivityAlpha)
Sets the sensitivity of the Alpha parameters to the raw data used for calibration.
|
SabrParametersSwaptionVolatilities.Builder |
dataSensitivityBeta(DoubleArray... dataSensitivityBeta)
Sets the
dataSensitivityBeta property in the builder
from an array of objects. |
SabrParametersSwaptionVolatilities.Builder |
dataSensitivityBeta(List<DoubleArray> dataSensitivityBeta)
Sets the sensitivity of the Beta parameters to the raw data used for calibration.
|
SabrParametersSwaptionVolatilities.Builder |
dataSensitivityNu(DoubleArray... dataSensitivityNu)
Sets the
dataSensitivityNu property in the builder
from an array of objects. |
SabrParametersSwaptionVolatilities.Builder |
dataSensitivityNu(List<DoubleArray> dataSensitivityNu)
Sets the sensitivity of the Nu parameters to the raw data used for calibration.
|
SabrParametersSwaptionVolatilities.Builder |
dataSensitivityRho(DoubleArray... dataSensitivityRho)
Sets the
dataSensitivityRho property in the builder
from an array of objects. |
SabrParametersSwaptionVolatilities.Builder |
dataSensitivityRho(List<DoubleArray> dataSensitivityRho)
Sets the sensitivity of the Rho parameters to the raw data used for calibration.
|
Object |
get(String propertyName) |
SabrParametersSwaptionVolatilities.Builder |
name(SwaptionVolatilitiesName name)
Sets the name.
|
SabrParametersSwaptionVolatilities.Builder |
parameters(SabrInterestRateParameters parameters)
Sets the SABR model parameters.
|
SabrParametersSwaptionVolatilities.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
SabrParametersSwaptionVolatilities.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
SabrParametersSwaptionVolatilities.Builder |
valuationDateTime(ZonedDateTime valuationDateTime)
Sets the valuation date-time.
|
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<SabrParametersSwaptionVolatilities>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<SabrParametersSwaptionVolatilities>public SabrParametersSwaptionVolatilities.Builder set(String propertyName, Object newValue)
public SabrParametersSwaptionVolatilities.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<SabrParametersSwaptionVolatilities>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<SabrParametersSwaptionVolatilities>public SabrParametersSwaptionVolatilities build()
public SabrParametersSwaptionVolatilities.Builder name(SwaptionVolatilitiesName name)
name - the new value, not nullpublic SabrParametersSwaptionVolatilities.Builder convention(FixedFloatSwapConvention convention)
convention - the new value, not nullpublic SabrParametersSwaptionVolatilities.Builder valuationDateTime(ZonedDateTime valuationDateTime)
The volatilities are calibrated for this date-time.
valuationDateTime - the new value, not nullpublic SabrParametersSwaptionVolatilities.Builder parameters(SabrInterestRateParameters parameters)
Each model parameter of SABR model is a surface. The x-value of the surface is the expiry, as a year fraction. The y-value of the surface is the swap tenor, as a year fraction rounded to the month.
parameters - the new value, not nullpublic SabrParametersSwaptionVolatilities.Builder dataSensitivityAlpha(List<DoubleArray> dataSensitivityAlpha)
The order of the sensitivities have to be coherent with the surface parameter metadata.
dataSensitivityAlpha - the new valuepublic SabrParametersSwaptionVolatilities.Builder dataSensitivityAlpha(DoubleArray... dataSensitivityAlpha)
dataSensitivityAlpha property in the builder
from an array of objects.dataSensitivityAlpha - the new valuepublic SabrParametersSwaptionVolatilities.Builder dataSensitivityBeta(List<DoubleArray> dataSensitivityBeta)
The order of the sensitivities have to be coherent with the surface parameter metadata.
dataSensitivityBeta - the new valuepublic SabrParametersSwaptionVolatilities.Builder dataSensitivityBeta(DoubleArray... dataSensitivityBeta)
dataSensitivityBeta property in the builder
from an array of objects.dataSensitivityBeta - the new valuepublic SabrParametersSwaptionVolatilities.Builder dataSensitivityRho(List<DoubleArray> dataSensitivityRho)
The order of the sensitivities have to be coherent with the surface parameter metadata.
dataSensitivityRho - the new valuepublic SabrParametersSwaptionVolatilities.Builder dataSensitivityRho(DoubleArray... dataSensitivityRho)
dataSensitivityRho property in the builder
from an array of objects.dataSensitivityRho - the new valuepublic SabrParametersSwaptionVolatilities.Builder dataSensitivityNu(List<DoubleArray> dataSensitivityNu)
The order of the sensitivities have to be coherent with the surface parameter metadata.
dataSensitivityNu - the new valuepublic SabrParametersSwaptionVolatilities.Builder dataSensitivityNu(DoubleArray... dataSensitivityNu)
dataSensitivityNu property in the builder
from an array of objects.dataSensitivityNu - the new valuepublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<SabrParametersSwaptionVolatilities>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.