Uses of Class
com.opengamma.strata.market.ValueType
-
Packages that use ValueType Package Description com.opengamma.strata.market Data structures for market data.com.opengamma.strata.market.curve Definitions of curves.com.opengamma.strata.market.curve.node Curve nodes.com.opengamma.strata.market.surface Definitions of surfaces.com.opengamma.strata.measure.fxopt Calculation functions for FX option products.com.opengamma.strata.pricer.bond Calculators for bonds.com.opengamma.strata.pricer.capfloor Calculators for Ibor cap-floor.com.opengamma.strata.pricer.fxopt Calculators for FX options.com.opengamma.strata.pricer.impl.volatility.smile Internal implementations of volatility smile.com.opengamma.strata.pricer.index Calculators for products based on rate indices, such as Short Term Interest Rate futures (STIRs).com.opengamma.strata.pricer.model Common code for model pricing.com.opengamma.strata.pricer.option Pricer support classes for options.com.opengamma.strata.pricer.swaption Calculators for swaptions. -
-
Uses of ValueType in com.opengamma.strata.market
Fields in com.opengamma.strata.market declared as ValueType Modifier and Type Field Description static ValueTypeValueType. BLACK_VOLATILITYType used when each value is a Black model implied volatility - 'BlackVolatility'.static ValueTypeValueType. CORRELATIONType used when each value is a correlation - 'CORRELATION'.static ValueTypeValueType. DISCOUNT_FACTORType used when each value is a discount factor - 'DiscountFactor'.static ValueTypeValueType. DIVIDEND_YIELDType used when each value is a dividend yield - 'DividendYield'.static ValueTypeValueType. FORWARD_RATEType used when each value is a forward rate - 'ForwardRate'.static ValueTypeValueType. LOCAL_VOLATILITYType used when each value is a local volatility - 'LocalVolatility'.static ValueTypeValueType. LOG_MONEYNESSType used when each value is log-moneyness, i.e.static ValueTypeValueType. MONTHSType used when each value is the number of months relative to a base month - 'Months'.static ValueTypeValueType. NORMAL_VOLATILITYType used when each value is a Normal (Bachelier) model implied volatility - 'NormalVolatility'.static ValueTypeValueType. PRICEType used when each value is a Price - 'Price'.static ValueTypeValueType. PRICE_INDEXType used when each value is a price index, as used for inflation products - 'PriceIndex'.static ValueTypeValueType. RECOVERY_RATEType used when each value is a recovery rate - 'RecoveryRate'.static ValueTypeValueType. RISK_REVERSALType used when each value is a risk reversal - 'RiskReversal'.static ValueTypeValueType. SABR_ALPHAType used when each value is the SABR alpha parameter - 'SabrAlpha'.static ValueTypeValueType. SABR_BETAType used when each value is the SABR beta parameter - 'SabrBeta'.static ValueTypeValueType. SABR_NUType used when each value is the SABR nu parameter - 'SabrNu'.static ValueTypeValueType. SABR_RHOType used when each value is the SABR rho parameter - 'SabrRho'.static ValueTypeValueType. SABR_SHIFTType used when each value is the SABR shift parameter - 'SabrShift'.static ValueTypeValueType. SIMPLE_MONEYNESSType used when each value is simple-moneyness, i.e.static ValueTypeValueType. STRANGLEType used when each value is a strangle - 'Strangle'.static ValueTypeValueType. STRIKEType used when each value is a strike - 'Strike'.static ValueTypeValueType. UNKNOWNType used when the meaning of each value is not known - 'Unknown'.static ValueTypeValueType. YEAR_FRACTIONType used when each value is a year fraction relative to a base date - 'YearFraction'.static ValueTypeValueType. ZERO_RATEType used when each value is a zero rate - 'ZeroRate'.Methods in com.opengamma.strata.market that return ValueType Modifier and Type Method Description static ValueTypeValueType. of(String name)Obtains an instance from the specified name.Methods in com.opengamma.strata.market with parameters of type ValueType Modifier and Type Method Description voidValueType. checkEquals(ValueType other, String exceptionPrefix)Checks that this instance equals the specified instance. -
Uses of ValueType in com.opengamma.strata.market.curve
Methods in com.opengamma.strata.market.curve that return ValueType Modifier and Type Method Description ValueTypeCurveMetadata. getXValueType()Gets the x-value type, providing meaning to the x-values of the curve.ValueTypeDefaultCurveMetadata. getXValueType()Gets the x-value type, providing meaning to the x-values of the curve.ValueTypeInterpolatedNodalCurveDefinition. getXValueType()Gets the x-value type, providing meaning to the x-values of the curve.ValueTypeParameterizedFunctionalCurveDefinition. getXValueType()Gets the x-value type, providing meaning to the x-values of the curve.ValueTypeSimpleCurveParameterMetadata. getXValueType()Gets the type of the x-value.ValueTypeCurveDefinition. getYValueType()Gets the y-value type, providing meaning to the y-values of the curve.ValueTypeCurveMetadata. getYValueType()Gets the y-value type, providing meaning to the y-values of the curve.ValueTypeDefaultCurveMetadata. getYValueType()Gets the y-value type, providing meaning to the y-values of the curve.ValueTypeInterpolatedNodalCurveDefinition. getYValueType()Gets the y-value type, providing meaning to the y-values of the curve.ValueTypeParameterizedFunctionalCurveDefinition. getYValueType()Gets the y-value type, providing meaning to the y-values of the curve.Methods in com.opengamma.strata.market.curve that return types with arguments of type ValueType Modifier and Type Method Description org.joda.beans.MetaProperty<ValueType>DefaultCurveMetadata.Meta. xValueType()The meta-property for thexValueTypeproperty.org.joda.beans.MetaProperty<ValueType>InterpolatedNodalCurveDefinition.Meta. xValueType()The meta-property for thexValueTypeproperty.org.joda.beans.MetaProperty<ValueType>ParameterizedFunctionalCurveDefinition.Meta. xValueType()The meta-property for thexValueTypeproperty.org.joda.beans.MetaProperty<ValueType>SimpleCurveParameterMetadata.Meta. xValueType()The meta-property for thexValueTypeproperty.org.joda.beans.MetaProperty<ValueType>DefaultCurveMetadata.Meta. yValueType()The meta-property for theyValueTypeproperty.org.joda.beans.MetaProperty<ValueType>InterpolatedNodalCurveDefinition.Meta. yValueType()The meta-property for theyValueTypeproperty.org.joda.beans.MetaProperty<ValueType>ParameterizedFunctionalCurveDefinition.Meta. yValueType()The meta-property for theyValueTypeproperty.Methods in com.opengamma.strata.market.curve with parameters of type ValueType Modifier and Type Method Description doubleCurveNode. initialGuess(MarketData marketData, ValueType valueType)Gets the initial guess used for calibrating the node.static SimpleCurveParameterMetadataSimpleCurveParameterMetadata. of(ValueType xValueType, double xValue)Obtains an instance specifying information about the x-value.static CurveMetadataCurves. sabrParameterByExpiry(CurveName name, DayCount dayCount, ValueType yType)Creates metadata for a curve providing a SABR parameter.static CurveMetadataCurves. sabrParameterByExpiry(CurveName name, DayCount dayCount, ValueType yType, List<? extends ParameterMetadata> parameterMetadata)Creates metadata for a curve providing a SABR parameter.static CurveMetadataCurves. sabrParameterByExpiry(String name, DayCount dayCount, ValueType yType)Creates metadata for a curve providing a SABR parameter.DefaultCurveMetadataBuilderDefaultCurveMetadataBuilder. xValueType(ValueType xValueType)Sets the x-value type, providing meaning to the x-values of the curve.InterpolatedNodalCurveDefinition.BuilderInterpolatedNodalCurveDefinition.Builder. xValueType(ValueType xValueType)Sets the x-value type, providing meaning to the x-values of the curve.ParameterizedFunctionalCurveDefinition.BuilderParameterizedFunctionalCurveDefinition.Builder. xValueType(ValueType xValueType)Sets the x-value type, providing meaning to the x-values of the curve.DefaultCurveMetadataBuilderDefaultCurveMetadataBuilder. yValueType(ValueType yValueType)Sets the y-value type, providing meaning to the y-values of the curve.InterpolatedNodalCurveDefinition.BuilderInterpolatedNodalCurveDefinition.Builder. yValueType(ValueType yValueType)Sets the y-value type, providing meaning to the y-values of the curve.ParameterizedFunctionalCurveDefinition.BuilderParameterizedFunctionalCurveDefinition.Builder. yValueType(ValueType yValueType)Sets the y-value type, providing meaning to the y-values of the curve. -
Uses of ValueType in com.opengamma.strata.market.curve.node
Methods in com.opengamma.strata.market.curve.node with parameters of type ValueType Modifier and Type Method Description doubleFixedIborSwapCurveNode. initialGuess(MarketData marketData, ValueType valueType)doubleFixedInflationSwapCurveNode. initialGuess(MarketData marketData, ValueType valueType)doubleFixedOvernightSwapCurveNode. initialGuess(MarketData marketData, ValueType valueType)doubleFraCurveNode. initialGuess(MarketData marketData, ValueType valueType)doubleFxSwapCurveNode. initialGuess(MarketData marketData, ValueType valueType)doubleIborFixingDepositCurveNode. initialGuess(MarketData marketData, ValueType valueType)doubleIborFutureCurveNode. initialGuess(MarketData marketData, ValueType valueType)doubleIborIborSwapCurveNode. initialGuess(MarketData marketData, ValueType valueType)doubleOvernightFutureCurveNode. initialGuess(MarketData marketData, ValueType valueType)doubleOvernightIborSwapCurveNode. initialGuess(MarketData marketData, ValueType valueType)doubleTermDepositCurveNode. initialGuess(MarketData marketData, ValueType valueType)doubleThreeLegBasisSwapCurveNode. initialGuess(MarketData marketData, ValueType valueType)doubleXCcyIborIborSwapCurveNode. initialGuess(MarketData marketData, ValueType valueType) -
Uses of ValueType in com.opengamma.strata.market.surface
Methods in com.opengamma.strata.market.surface that return ValueType Modifier and Type Method Description ValueTypeDefaultSurfaceMetadata. getXValueType()Gets the x-value type, providing meaning to the x-values of the curve.ValueTypeSimpleSurfaceParameterMetadata. getXValueType()Gets the type of the x-value.ValueTypeSurfaceMetadata. getXValueType()Gets the x-value type, providing meaning to the x-values of the surface.ValueTypeDefaultSurfaceMetadata. getYValueType()Gets the y-value type, providing meaning to the y-values of the curve.ValueTypeSimpleSurfaceParameterMetadata. getYValueType()Gets the type of the y-value.ValueTypeSurfaceMetadata. getYValueType()Gets the y-value type, providing meaning to the y-values of the surface.ValueTypeDefaultSurfaceMetadata. getZValueType()Gets the x-value type, providing meaning to the z-values of the curve.ValueTypeSurfaceMetadata. getZValueType()Gets the z-value type, providing meaning to the z-values of the surface.Methods in com.opengamma.strata.market.surface that return types with arguments of type ValueType Modifier and Type Method Description org.joda.beans.MetaProperty<ValueType>DefaultSurfaceMetadata.Meta. xValueType()The meta-property for thexValueTypeproperty.org.joda.beans.MetaProperty<ValueType>SimpleSurfaceParameterMetadata.Meta. xValueType()The meta-property for thexValueTypeproperty.org.joda.beans.MetaProperty<ValueType>DefaultSurfaceMetadata.Meta. yValueType()The meta-property for theyValueTypeproperty.org.joda.beans.MetaProperty<ValueType>SimpleSurfaceParameterMetadata.Meta. yValueType()The meta-property for theyValueTypeproperty.org.joda.beans.MetaProperty<ValueType>DefaultSurfaceMetadata.Meta. zValueType()The meta-property for thezValueTypeproperty.Methods in com.opengamma.strata.market.surface with parameters of type ValueType Modifier and Type Method Description static SimpleSurfaceParameterMetadataSimpleSurfaceParameterMetadata. of(ValueType xValueType, double xValue, ValueType yValueType, double yValue)Obtains an instance specifying information about the x-value.static SurfaceMetadataSurfaces. sabrParameterByExpiryTenor(SurfaceName name, DayCount dayCount, ValueType zType)Creates metadata for a surface providing a SABR expiry-tenor parameter.static SurfaceMetadataSurfaces. sabrParameterByExpiryTenor(String name, DayCount dayCount, ValueType zType)Creates metadata for a surface providing a SABR expiry-tenor parameter.DefaultSurfaceMetadataBuilderDefaultSurfaceMetadataBuilder. xValueType(ValueType xValueType)Sets the x-value type, providing meaning to the x-values of the surface.DefaultSurfaceMetadataBuilderDefaultSurfaceMetadataBuilder. yValueType(ValueType yValueType)Sets the y-value type, providing meaning to the y-values of the surface.DefaultSurfaceMetadataBuilderDefaultSurfaceMetadataBuilder. zValueType(ValueType zValueType)Sets the z-value type, providing meaning to the z-values of the surface. -
Uses of ValueType in com.opengamma.strata.measure.fxopt
Methods in com.opengamma.strata.measure.fxopt that return ValueType Modifier and Type Method Description ValueTypeFxOptionVolatilitiesNode. getQuoteValueType()Gets the value type of the quote.Methods in com.opengamma.strata.measure.fxopt that return types with arguments of type ValueType Modifier and Type Method Description org.joda.beans.MetaProperty<ValueType>FxOptionVolatilitiesNode.Meta. quoteValueType()The meta-property for thequoteValueTypeproperty.Methods in com.opengamma.strata.measure.fxopt with parameters of type ValueType Modifier and Type Method Description static FxOptionVolatilitiesNodeFxOptionVolatilitiesNode. of(CurrencyPair currencyPair, DaysAdjustment spotDateOffset, BusinessDayAdjustment businessDayAdjustment, ValueType quoteValueType, QuoteId quoteId, Tenor tenor, Strike strike)Creates an instance.FxOptionVolatilitiesNode.BuilderFxOptionVolatilitiesNode.Builder. quoteValueType(ValueType quoteValueType)Sets the value type of the quote. -
Uses of ValueType in com.opengamma.strata.pricer.bond
Methods in com.opengamma.strata.pricer.bond that return ValueType Modifier and Type Method Description default ValueTypeBlackBondFutureVolatilities. getVolatilityType()ValueTypeBondFutureVolatilities. getVolatilityType()Gets the type of volatility returned by theBondFutureVolatilities.volatility(java.time.ZonedDateTime, java.time.LocalDate, double, double)method.ValueTypeBondYieldVolatilities. getVolatilityType()Gets the type of volatility returned by theBondYieldVolatilities.volatility(double, double, double, double)method.ValueTypeNormalBondYieldExpiryDurationVolatilities. getVolatilityType() -
Uses of ValueType in com.opengamma.strata.pricer.capfloor
Methods in com.opengamma.strata.pricer.capfloor that return ValueType Modifier and Type Method Description default ValueTypeBlackIborCapletFloorletVolatilities. getVolatilityType()default ValueTypeBlackSabrIborCapletFloorletVolatilities. getVolatilityType()ValueTypeIborCapletFloorletVolatilities. getVolatilityType()Gets the type of volatility returned by theIborCapletFloorletVolatilities.volatility(java.time.ZonedDateTime, double, double)method.default ValueTypeNormalIborCapletFloorletVolatilities. getVolatilityType()default ValueTypeNormalSabrIborCapletFloorletVolatilities. getVolatilityType() -
Uses of ValueType in com.opengamma.strata.pricer.fxopt
Methods in com.opengamma.strata.pricer.fxopt that return ValueType Modifier and Type Method Description default ValueTypeBlackFxOptionVolatilities. getVolatilityType()ValueTypeFxOptionVolatilities. getVolatilityType()Gets the type of volatility returned by theFxOptionVolatilities.volatility(com.opengamma.strata.basics.currency.CurrencyPair, java.time.ZonedDateTime, double, double)method. -
Uses of ValueType in com.opengamma.strata.pricer.impl.volatility.smile
Methods in com.opengamma.strata.pricer.impl.volatility.smile that return ValueType Modifier and Type Method Description ValueTypeSabrHaganNormalVolatilityFormula. getVolatilityType()ValueTypeSabrHaganVolatilityFunctionProvider. getVolatilityType() -
Uses of ValueType in com.opengamma.strata.pricer.index
Methods in com.opengamma.strata.pricer.index that return ValueType Modifier and Type Method Description ValueTypeIborFutureOptionVolatilities. getVolatilityType()Gets the type of volatility returned by theIborFutureOptionVolatilities.volatility(java.time.ZonedDateTime, java.time.LocalDate, double, double)method.default ValueTypeNormalIborFutureOptionVolatilities. getVolatilityType() -
Uses of ValueType in com.opengamma.strata.pricer.model
Methods in com.opengamma.strata.pricer.model that return ValueType Modifier and Type Method Description ValueTypeSabrVolatilityFormula. getVolatilityType()Gets the type of volatility returned by theSabrVolatilityFormula.volatility(double, double, double, double, double, double, double)method. -
Uses of ValueType in com.opengamma.strata.pricer.option
Methods in com.opengamma.strata.pricer.option that return ValueType Modifier and Type Method Description ValueTypeRawOptionData. getDataType()Gets the type of the raw data.ValueTypeRawOptionData. getStrikeType()Gets the value type of the strike-like dimension.Methods in com.opengamma.strata.pricer.option with parameters of type ValueType Modifier and Type Method Description static RawOptionDataRawOptionData. of(List<Period> expiries, DoubleArray strikes, ValueType strikeType, DoubleMatrix data, DoubleMatrix error, ValueType dataType)Obtains an instance of the raw data with error.static RawOptionDataRawOptionData. of(List<Period> expiries, DoubleArray strikes, ValueType strikeType, DoubleMatrix data, ValueType dataType)Obtains an instance of the raw volatility.static RawOptionDataRawOptionData. ofBlackVolatility(List<Period> expiries, DoubleArray strikes, ValueType strikeType, DoubleMatrix data, DoubleMatrix error, Double shift)Obtains an instance of the raw data with error for shifted Black (log-normal) volatility.static RawOptionDataRawOptionData. ofBlackVolatility(List<Period> expiries, DoubleArray strikes, ValueType strikeType, DoubleMatrix data, Double shift)Obtains an instance of the raw volatility for shifted Black (log-normal) volatility. -
Uses of ValueType in com.opengamma.strata.pricer.swaption
Methods in com.opengamma.strata.pricer.swaption that return ValueType Modifier and Type Method Description default ValueTypeBlackSwaptionVolatilities. getVolatilityType()default ValueTypeNormalSwaptionVolatilities. getVolatilityType()default ValueTypeSabrSwaptionVolatilities. getVolatilityType()ValueTypeSwaptionVolatilities. getVolatilityType()Gets the type of volatility returned by theSwaptionVolatilities.volatility(java.time.ZonedDateTime, double, double, double)method.Methods in com.opengamma.strata.pricer.swaption with parameters of type ValueType Modifier and Type Method Description Pair<LeastSquareResultsWithTransform,DoubleArray>SabrSwaptionCalibrator. calibrateLsShiftedFromBlackVolatilities(BusinessDayAdjustment bda, ZonedDateTime calibrationDateTime, DayCount dayCount, Period periodToExpiry, double forward, DoubleArray strikesLike, ValueType strikeType, DoubleArray blackVolatilitiesInput, double shiftInput, DoubleArray startParameters, BitSet fixedParameters, double shiftOutput)Calibrate the SABR parameters to a set of Black volatilities at given moneyness by least square.Pair<LeastSquareResultsWithTransform,DoubleArray>SabrSwaptionCalibrator. calibrateLsShiftedFromNormalVolatilities(BusinessDayAdjustment bda, ZonedDateTime calibrationDateTime, DayCount dayCount, Period periodToExpiry, double forward, DoubleArray strikesLike, ValueType strikeType, DoubleArray normalVolatilities, DoubleArray startParameters, BitSet fixedParameters, double shiftOutput)Calibrate the SABR parameters to a set of normal volatilities at given moneyness.Pair<LeastSquareResultsWithTransform,DoubleArray>SabrSwaptionCalibrator. calibrateLsShiftedFromPrices(BusinessDayAdjustment bda, ZonedDateTime calibrationDateTime, DayCount dayCount, Period periodToExpiry, double forward, DoubleArray strikesLike, ValueType strikeType, DoubleArray prices, DoubleArray startParameters, BitSet fixedParameters, double shiftOutput)Calibrate the SABR parameters to a set of option prices at given moneyness.
-