private Object readResolve()
private Object readResolve()
private Object readResolve()
Currency curveCurrency
double yearFraction
Currency currency
double sensitivity
private Object readResolve()
ZonedDateTime valuationDateTime
The volatilities are calibrated for this date-time.
Surface surface
The x-value of the surface is the expiry, as a year fraction. The y-value of the surface is the log-moneyness.
BondFutureVolatilitiesName volatilitiesName
double expiry
LocalDate futureExpiryDate
double strikePrice
double futurePrice
Currency currency
double sensitivity
BondFutureVolatilitiesName name
String name
String name
BondVolatilitiesName volatilitiesName
double expiry
double duration
double strike
double forward
Currency currency
double sensitivity
LocalDate valuationDate
ImmutableMap<K,V> repoCurveSecurityGroups
This maps the security ID to a group.
The group is used to find the curve in repoCurves.
ImmutableMap<K,V> repoCurveGroups
This maps the legal entity ID to a group.
The group is used to find the curve in repoCurves.
ImmutableMap<K,V> repoCurves
ImmutableMap<K,V> issuerCurveGroups
This maps the legal entity ID to a group.
The group is used to find the curve in issuerCurves.
This property was renamed in version 1.1 of Strata from legalEntityMap.
ImmutableMap<K,V> issuerCurves
DiscountFactors discountFactors
This contains curve, curve currency, valuation date and day count convention.
The discount factor, its point sensitivity and curve sensitivity are computed by this DiscountFactors.
LegalEntityGroup legalEntityGroup
The group defines the legal entity that the discount factors are for.
Currency curveCurrency
double yearFraction
Currency currency
LegalEntityGroup legalEntityGroup
The group defines the legal entity that the discount factors are for.
double sensitivity
private Object readResolve()
Currency currency
ZonedDateTime valuationDateTime
The volatilities are calibrated for this date-time.
Surface surface
The x-value of the surface is the expiry, as a year fraction. The y-value of the surface is the duration, as a year fraction.
DiscountFactors discountFactors
This contains curve, curve currency, valuation date and day count convention.
The discount factor, its point sensitivity and curve sensitivity are computed by this DiscountFactors.
RepoGroup repoGroup
This defines the group that the discount factors are for.
Currency curveCurrency
double yearFraction
Currency currency
RepoGroup repoGroup
This defines the group that the discount factors are for.
double sensitivity
private Object readResolve()
IborIndex index
The data must valid in terms of this Ibor index.
ZonedDateTime valuationDateTime
The volatilities are calibrated for this date-time.
Curve curve
The x-value of the curve is the expiry, as a year fraction. The y-value of the curve is the volatility.
private Object readResolve()
IborIndex index
The data must valid in terms of this Ibor index.
ZonedDateTime valuationDateTime
The volatilities are calibrated for this date-time.
Surface surface
The x-value of the surface is the expiry, as a year fraction. The y-value of the surface is the strike.
IborCapletFloorletVolatilitiesName name
IborIndex index
DayCount dayCount
double lambda
CurveInterpolator interpolator
CurveExtrapolator extrapolatorLeft
CurveExtrapolator extrapolatorRight
IborCapletFloorletVolatilitiesName name
IborIndex index
DayCount dayCount
double lambdaExpiry
double lambdaStrike
GridSurfaceInterpolator interpolator
Curve shiftCurve
The x value of the curve is the expiry. The market volatilities are calibrated to shifted Black model if this field is not null.
ImmutableMap<K,V> amounts
ImmutableMap<K,V> amounts
IborCapletFloorletVolatilitiesName volatilitiesName
double expiry
SabrParameterType sensitivityType
Currency currency
double sensitivity
IborCapletFloorletVolatilitiesName volatilitiesName
double expiry
double strike
double forward
Currency currency
double sensitivity
IborCapletFloorletVolatilitiesName name
String name
IborCapletFloorletVolatilities volatilities
double chiSquare
The chi square is 0 if the volatilities are computed by root-finding. The chi square is generally non-zero if the volatilities are computed by least square method.
private Object readResolve()
IborIndex index
The data must valid in terms of this Ibor index.
ZonedDateTime valuationDateTime
The volatilities are calibrated for this date-time.
Curve curve
ValueType.YEAR_FRACTION
ValueType.NORMAL_VOLATILITYprivate Object readResolve()
IborIndex index
The data must valid in terms of this Ibor index.
ZonedDateTime valuationDateTime
The volatilities are calibrated for this date-time.
Surface surface
The x-value of the surface is the expiry, as a year fraction. The y-value of the surface is the strike.
IborCapletFloorletVolatilitiesName name
IborIndex index
The data must valid in terms of this Ibor index.
ZonedDateTime valuationDateTime
The volatilities are calibrated for this date-time.
SabrParameters parameters
Each model parameter of SABR model is a curve. The x-value of the curve is the expiry, as a year fraction.
ImmutableList<E> dataSensitivityAlpha
The order of the sensitivities have to be coherent with the curve parameter metadata.
ImmutableList<E> dataSensitivityBeta
The order of the sensitivities have to be coherent with the curve parameter metadata.
ImmutableList<E> dataSensitivityRho
The order of the sensitivities have to be coherent with the curve parameter metadata.
ImmutableList<E> dataSensitivityNu
The order of the sensitivities have to be coherent with the curve parameter metadata.
IborCapletFloorletVolatilitiesName name
IborIndex index
DayCount dayCount
Curve betaCurve
This represents the beta parameter of SABR model.
The beta will be treated as one of the calibration parameters if this field is not specified.
Curve rhoCurve
This represents the rho parameter of SABR model.
The rho will be treated as one of the calibration parameters if this field is not specified.
Curve shiftCurve
This represents the shift parameter of shifted SABR model. The x value of the curve is the expiry.
The shift is set to be zero if this field is not specified.
CurveInterpolator interpolator
The x value of the interpolated curves is the expiry.
CurveExtrapolator extrapolatorLeft
The x value of the interpolated curves is the expiry.
CurveExtrapolator extrapolatorRight
The x value of the interpolated curves is the expiry.
SabrVolatilityFormula sabrVolatilityFormula
IborCapletFloorletVolatilitiesName name
IborIndex index
DayCount dayCount
Curve betaCurve
This represents the beta parameter of SABR model.
The beta will be treated as one of the calibration parameters if this field is not specified.
Either betaCurve or rhoCurve must be present.
Curve rhoCurve
This represents the rho parameter of SABR model.
The rho will be treated as one of the calibration parameters if this field is not specified.
Either betaCurve or rhoCurve must be present.
Curve shiftCurve
This represents the shift parameter of shifted SABR model.
The shift is set to be zero if this field is not specified.
ImmutableList<E> parameterCurveNodes
The size of the list must be 4, ordered as alpha, beta, rho and nu.
If the number of nodes is greater than 1, the curve will be created with CurveInterpolator and
CurveExtrapolator specified below. Otherwise, ConstantNodalCurve will be created.
DoubleArray initialParameters
Default values will be used if not specified. The size of this field must be 4, ordered as alpha, beta, rho and nu.
CurveInterpolator interpolator
CurveExtrapolator extrapolatorLeft
The flat extrapolation is used if not specified.
CurveExtrapolator extrapolatorRight
The flat extrapolation is used if not specified.
SabrVolatilityFormula sabrVolatilityFormula
IborCapletFloorletVolatilitiesName name
IborIndex index
The data must valid in terms of this Ibor index.
ZonedDateTime valuationDateTime
The volatilities are calibrated for this date-time.
SabrParameters parameters
Each model parameter of SABR model is a curve. The x-value of the curve is the expiry, as a year fraction.
ImmutableList<E> dataSensitivityAlpha
The order of the sensitivities have to be coherent with the curve parameter metadata.
ImmutableList<E> dataSensitivityBeta
The order of the sensitivities have to be coherent with the curve parameter metadata.
ImmutableList<E> dataSensitivityRho
The order of the sensitivities have to be coherent with the curve parameter metadata.
ImmutableList<E> dataSensitivityNu
The order of the sensitivities have to be coherent with the curve parameter metadata.
private Object readResolve()
IborIndex index
The data must valid in terms of this Ibor index.
ZonedDateTime valuationDateTime
The volatilities are calibrated for this date-time.
Surface surface
The x-value of the surface is the expiry, as a year fraction. The y-value of the surface is the strike.
Curve shiftCurve
The x value of the curve is the expiry.
Use BlackIborCapletFloorletExpiryStrikeVolatilities for zero shift.
IborCapletFloorletVolatilitiesName name
IborIndex index
DayCount dayCount
GridSurfaceInterpolator interpolator
Curve shiftCurve
The market volatilities are calibrated to shifted Black model if this field is not null.
Period period
This is the period to expiry that the node on the surface is defined as. There is not necessarily a direct relationship with a date from an underlying instrument.
Strike strike
This is the strike that the node on the surface is defined as.
String label
double yearFraction
This is the time to expiry that the node on the surface is defined as. There is not necessarily a direct relationship with a date from an underlying instrument.
Tenor yearFractionTenor
Strike strike
This is the strike that the node on the surface is defined as.
String label
StandardId legalEntityId
This identifier is used for the reference legal entity of a credit derivative.
LocalDate valuationDate
double recoveryRate
The recovery rate is represented in decimal form, and must be between 0 and 1 inclusive.
StandardId legalEntityId
This identifier is used for the reference legal entity of a credit derivative.
ZeroRateSensitivity zeroRateSensitivity
This stores curve currency, year fraction, sensitivity currency and sensitivity value.
LocalDate valuationDate
All curves and other data items in this provider are calibrated for this date.
ImmutableMap<K,V> creditCurves
The curve data, predicting the survival probability, associated with each legal entity and currency.
ImmutableMap<K,V> discountCurves
The curve data, predicting the discount factor, associated with each currency.
ImmutableMap<K,V> recoveryRateCurves
The curve date, predicting the recovery rate, associated with each legal entity.
Currency currency
LocalDate valuationDate
NodalCurve curve
The metadata of the curve must define a day count.
DayCount dayCount
Currency currency
ImmutableMap<K,V> amounts
StandardId legalEntityId
This identifier is used for the reference legal entity of a credit derivative.
CreditDiscountFactors survivalProbabilities
The metadata of the curve must define a day count.
StandardId legalEntityId
This identifier is used for the reference legal entity of a credit derivative.
LocalDate valuationDate
NodalCurve curve
The metadata of the curve must define a day count.
private Object readResolve()
CurrencyPair currencyPair
FxRateProvider fxRateProvider
DiscountFactors baseCurrencyDiscountFactors
DiscountFactors counterCurrencyDiscountFactors
FxIndex index
FxForwardRates fxForwardRates
LocalDateDoubleTimeSeries fixings
CurrencyPair currencyPair
Currency referenceCurrency
This is the base currency of the FX conversion that occurs using the currency pair. The reference currency must be one of the two currencies of the currency pair.
LocalDate referenceDate
Currency currency
double sensitivity
FxIndexObservation observation
This includes the index and fixing date.
Currency referenceCurrency
This is the base currency of the FX conversion that occurs using the index. The reference currency must be one of the two currencies of the index.
Currency currency
double sensitivity
private Object readResolve()
CurrencyPair currencyPair
ZonedDateTime valuationDateTime
Curve curve
The x-values represent the expiry year-fraction. The metadata of the curve must define a day count.
FxOptionVolatilitiesName name
CurrencyPair currencyPair
ZonedDateTime valuationDateTime
SmileDeltaTermStructure smile
This represents expiry dependent smile which consists of ATM, risk reversal and strangle as used in FX market.
private Object readResolve()
FxOptionVolatilitiesName name
CurrencyPair currencyPair
ZonedDateTime valuationDateTime
Surface surface
The x-values represent the expiry year-fraction. The y-values represent the strike. The metadata of the surface must define a day count.
FxOptionVolatilitiesName volatilitiesName
CurrencyPair currencyPair
double expiry
double strike
double forward
Currency currency
double sensitivity
FxOptionVolatilitiesName name
String name
double yearFraction
This is the time to expiry that the node on the surface is defined as. There is not necessarily a direct relationship with a date from an underlying instrument.
Tenor yearFractionTenor
Strike strike
This is the strike that the node on the surface is defined as.
CurrencyPair currencyPair
String label
private Object readResolve()
ImmutableList<E> volatilityTerm
DayCount dayCount
CurveInterpolator timeInterpolator
CurveExtrapolator timeExtrapolatorLeft
CurveExtrapolator timeExtrapolatorRight
CurveInterpolator strikeInterpolator
CurveExtrapolator strikeExtrapolatorLeft
CurveExtrapolator strikeExtrapolatorRight
DoubleMatrix stateValue
The (i,j) component of this matrix represents the underlying asset price at the j-th lowest node
at the i-th time layer.
ImmutableList<E> transitionProbability
The i-th element of the list represents the transition probability values for the nodes
at the i-th time layer.
The matrix is (2*i+1) times 3, and its j-th row involves [0] down probability,
[1] middle probability and [2] up probability for the j-th lowest node.
DoubleArray discountFactor
The i-th element is the discount factor between the i-th layer and the (i+1)-th layer.
DoubleArray time
The i-th element is the year fraction between the 0-th time layer and the i-th layer.
SmileDeltaParameters smile
DoubleMatrix sensitivities
double expiry
DoubleArray delta
[0.1, 0.25]. The at-the-money value of 0.5 is not included.DoubleArray volatility
(delta.size() * 2) + 1 with the put with lower delta (in absolute value) first,
at-the-money and call with larger delta first.ImmutableList<E> parameterMetadata
(delta.size() * 2) + 1 with the put with lower delta (in absolute value) first,
at-the-money and call with larger delta first.double volatility
DoubleMatrix sensitivities
double strike
double timeToExpiry
double sign
The sign is +1 for call and -1 for put.
int numberOfSteps
BarrierType barrierType
double barrierLevel
DoubleArray rebate
The rebate amounts for individual time layer.
The size must be equal to numberOfSteps + 1
double strike
double timeToExpiry
double sign
The sign is +1 for call and -1 for put.
int numberOfSteps
DoubleArray parameters
This must be an array of length 4.
The parameters in the array are in the order of alpha, beta, rho and nu.
The constraints for the parameters are defined in SabrFormulaData.isAllowed(int, double).
double q
DoubleArray parameters
This must be an array of length 3.
The parameters in the array are in the order of sigma (ATM volatility), rho and eta.
The constraints for the parameters are defined in SsviFormulaData.isAllowed(int, double).
IborFutureOptionVolatilitiesName volatilitiesName
double expiry
LocalDate fixingDate
double strikePrice
double futurePrice
Currency currency
double sensitivity
IborFutureOptionVolatilitiesName name
String name
private Object readResolve()
IborIndex index
ZonedDateTime valuationDateTime
The volatilities are calibrated for this date-time.
Surface surface
The x-value of the surface is the expiry, as a year fraction. The y-value of the surface is the simple moneyness.
private Object readResolve()
OvernightIndex index
ZonedDateTime valuationDateTime
The volatilities are calibrated for this date-time.
Surface surface
The x-value of the surface is the expiry, as a year fraction. The y-value of the surface is the simple moneyness.
OvernightFutureOptionVolatilitiesName volatilitiesName
double expiry
LocalDate fixingDate
double strikePrice
double futurePrice
Currency currency
double sensitivity
OvernightFutureOptionVolatilitiesName name
String name
double meanReversion
DoubleArray volatility
The volatility is constant between the volatility times, i.e., volatility value at t is volatility.get(i)
for any t between volatilityTime.get(i) and volatilityTime.get(i+1).
DoubleArray volatilityTime
The time should be sorted by increasing order. The first time is 0 and the last time is 1000 (represents infinity).
These extra times are added in HullWhiteOneFactorPiecewiseConstantParameters.of(double, DoubleArray, DoubleArray).
HullWhiteOneFactorPiecewiseConstantParameters parameters
DayCount dayCount
ZonedDateTime valuationDateTime
The volatilities are calibrated for this date-time.
private Object readResolve()
Surface alphaSurface
The first dimension is the expiry and the second the tenor.
Surface betaSurface
The first dimension is the expiry and the second the tenor.
Surface rhoSurface
The first dimension is the expiry and the second the tenor.
Surface nuSurface
The first dimension is the expiry and the second the tenor.
Surface shiftSurface
The first dimension is the expiry and the second the tenor. The shift is set to be 0 unless specified.
SabrVolatilityFormula sabrVolatilityFormula
private Object readResolve()
Curve alphaCurve
The x value of the curve is the expiry.
Curve betaCurve
The x value of the curve is the expiry.
Curve rhoCurve
The x value of the curve is the expiry.
Curve nuCurve
The x value of the curve is the expiry.
Curve shiftCurve
The x value of the curve is the expiry. The shift is set to be 0 unless specified.
SabrVolatilityFormula sabrVolatilityFormula
ImmutableList<E> expiries
DoubleArray strikes
ValueType strikeType
DoubleMatrix data
DoubleMatrix error
These will be used if the option data is calibrated by a least square method.
data and error must have the same number of elements.
ValueType dataType
Double shift
ImmutableSortedMap<K,V> data
IborIndex index
DiscountFactors discountFactors
LocalDateDoubleTimeSeries fixings
OvernightIndex index
DiscountFactors discountFactors
LocalDateDoubleTimeSeries fixings
IborIndex index
LocalDate valuationDate
LocalDateDoubleTimeSeries fixings
OvernightIndex index
LocalDate valuationDate
LocalDateDoubleTimeSeries fixings
PriceIndex index
LocalDate valuationDate
LocalDateDoubleTimeSeries fixings
Only one value is stored per month. The value is stored in the time-series on the last date of each month (which may be a non-working day).
IborIndexObservation observation
This includes the index and fixing date.
Currency currency
double sensitivity
LocalDate valuationDate
FxRateProvider fxRateProvider
ImmutableMap<K,V> discountCurves
ImmutableMap<K,V> indexCurves
ImmutableMap<K,V> timeSeries
PriceIndexObservation observation
This includes the index and fixing month.
Currency currency
double sensitivity
OvernightIndexObservation observation
This includes the index and fixing date.
LocalDate endDate
Currency currency
double sensitivity
private Object readResolve()
IborIndex index
LocalDate valuationDate
Curve curve
LocalDateDoubleTimeSeries fixings
PriceIndex index
LocalDate valuationDate
Curve curve
LocalDateDoubleTimeSeries fixings
Only one value is stored per month. The value is stored in the time-series on the last date of each month (which may be a non-working day).
private Object readResolve()
FixedFloatSwapConvention convention
ZonedDateTime valuationDateTime
The volatilities are calibrated for this date-time.
Surface 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.
SwaptionVolatilitiesName name
FixedFloatSwapConvention convention
ZonedDateTime valuationDateTime
The volatilities are calibrated for this date-time.
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.
ImmutableList<E> dataSensitivityAlpha
The order of the sensitivities have to be coherent with the surface parameter metadata.
ImmutableList<E> dataSensitivityBeta
The order of the sensitivities have to be coherent with the surface parameter metadata.
ImmutableList<E> dataSensitivityRho
The order of the sensitivities have to be coherent with the surface parameter metadata.
ImmutableList<E> dataSensitivityNu
The order of the sensitivities have to be coherent with the surface parameter metadata.
private Object readResolve()
FixedFloatSwapConvention convention
ZonedDateTime valuationDateTime
The volatilities are calibrated for this date-time.
Surface surface
The x-value of the surface is the expiry, as a year fraction. The y-value of the surface is the simple moneyness, i.e. strike - forward, as a rate.
private Object readResolve()
FixedFloatSwapConvention convention
ZonedDateTime valuationDateTime
The volatilities are calibrated for this date-time.
Surface surface
The x-value of the surface is the expiry, as a year fraction. The y-value of the surface is the strike, as a rate.
private Object readResolve()
FixedFloatSwapConvention convention
ZonedDateTime valuationDateTime
The volatilities are calibrated for this date-time.
Surface 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.
SwaptionVolatilitiesName name
FixedFloatSwapConvention convention
ZonedDateTime valuationDateTime
The volatilities are calibrated for this date-time.
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.
ImmutableList<E> dataSensitivityAlpha
The order of the sensitivities have to be coherent with the surface parameter metadata.
ImmutableList<E> dataSensitivityBeta
The order of the sensitivities have to be coherent with the surface parameter metadata.
ImmutableList<E> dataSensitivityRho
The order of the sensitivities have to be coherent with the surface parameter metadata.
ImmutableList<E> dataSensitivityNu
The order of the sensitivities have to be coherent with the surface parameter metadata.
SwaptionVolatilitiesName name
FixedFloatSwapConvention convention
DayCount dayCount
SurfaceInterpolator interpolator
SwaptionVolatilitiesName volatilitiesName
double expiry
double tenor
SabrParameterType sensitivityType
Currency currency
double sensitivity
SwaptionVolatilitiesName volatilitiesName
double expiry
double tenor
double strike
double forward
Currency currency
double sensitivity
double yearFraction
This is the time to expiry that the node on the surface is defined as. There is not necessarily a direct relationship with a date from an underlying instrument.
double simpleMoneyness
This is defined as strike - forward.
String label
double yearFraction
This is the time to expiry that the node on the surface is defined as. There is not necessarily a direct relationship with a date from an underlying instrument.
double strike
String label
double yearFraction
This is the time to expiry that the node on the surface is defined as. There is not necessarily a direct relationship with a date from an underlying instrument.
double tenor
This is the tenor of the underlying swap that the node on the surface is defined as.
String label
SwaptionVolatilitiesName name
String name
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.