Uses of Interface
com.opengamma.strata.market.surface.Surface
-
Packages that use Surface Package Description com.opengamma.strata.market.surface Definitions of surfaces.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.local 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.swaption Calculators for swaptions. -
-
Uses of Surface in com.opengamma.strata.market.surface
Subinterfaces of Surface in com.opengamma.strata.market.surface Modifier and Type Interface Description interfaceNodalSurfaceA surface based ondoublenodal points.Classes in com.opengamma.strata.market.surface that implement Surface Modifier and Type Class Description classConstantSurfaceA surface based on a single constant value.classDeformedSurfaceThe deformed surface.classInterpolatedNodalSurfaceA surface based on interpolation between a number of nodal points.Methods in com.opengamma.strata.market.surface that return Surface Modifier and Type Method Description SurfaceDeformedSurface. getOriginalSurface()Gets the original surface.SurfaceSurface. withMetadata(SurfaceMetadata metadata)Returns a new surface with the specified metadata.SurfaceDeformedSurface. withParameter(int parameterIndex, double newValue)SurfaceSurface. withParameter(int parameterIndex, double newValue)default SurfaceSurface. withPerturbation(ParameterPerturbation perturbation)Methods in com.opengamma.strata.market.surface that return types with arguments of type Surface Modifier and Type Method Description Class<Surface>SurfaceName. getMarketDataType()org.joda.beans.MetaProperty<Surface>DeformedSurface.Meta. originalSurface()The meta-property for theoriginalSurfaceproperty.Methods in com.opengamma.strata.market.surface with parameters of type Surface Modifier and Type Method Description static DeformedSurfaceDeformedSurface. of(SurfaceMetadata metadata, Surface originalSurface, Function<DoublesPair,ValueDerivatives> deformationFunction)Obtains an instance.DeformedSurface.BuilderDeformedSurface.Builder. originalSurface(Surface originalSurface)Sets the original surface. -
Uses of Surface in com.opengamma.strata.pricer.bond
Methods in com.opengamma.strata.pricer.bond that return Surface Modifier and Type Method Description SurfaceBlackBondFutureExpiryLogMoneynessVolatilities. getSurface()Gets the Black volatility surface.SurfaceNormalBondYieldExpiryDurationVolatilities. getSurface()Gets the normal volatility surface.Methods in com.opengamma.strata.pricer.bond that return types with arguments of type Surface Modifier and Type Method Description org.joda.beans.MetaProperty<Surface>BlackBondFutureExpiryLogMoneynessVolatilities.Meta. surface()The meta-property for thesurfaceproperty.org.joda.beans.MetaProperty<Surface>NormalBondYieldExpiryDurationVolatilities.Meta. surface()The meta-property for thesurfaceproperty.Methods in com.opengamma.strata.pricer.bond with parameters of type Surface Modifier and Type Method Description static NormalBondYieldExpiryDurationVolatilitiesNormalBondYieldExpiryDurationVolatilities. of(Currency currency, ZonedDateTime valuationDateTime, Surface surface)Obtains an instance from the implied volatility surface and the date-time for which it is valid.BlackBondFutureExpiryLogMoneynessVolatilities.BuilderBlackBondFutureExpiryLogMoneynessVolatilities.Builder. surface(Surface surface)Sets the Black volatility surface. -
Uses of Surface in com.opengamma.strata.pricer.capfloor
Methods in com.opengamma.strata.pricer.capfloor that return Surface Modifier and Type Method Description SurfaceBlackIborCapletFloorletExpiryStrikeVolatilities. getSurface()Gets the Black volatility surface.SurfaceNormalIborCapletFloorletExpiryStrikeVolatilities. getSurface()Gets the normal volatility surface.SurfaceShiftedBlackIborCapletFloorletExpiryStrikeVolatilities. getSurface()Gets the Black volatility surface.Methods in com.opengamma.strata.pricer.capfloor that return types with arguments of type Surface Modifier and Type Method Description org.joda.beans.MetaProperty<Surface>BlackIborCapletFloorletExpiryStrikeVolatilities.Meta. surface()The meta-property for thesurfaceproperty.org.joda.beans.MetaProperty<Surface>NormalIborCapletFloorletExpiryStrikeVolatilities.Meta. surface()The meta-property for thesurfaceproperty.org.joda.beans.MetaProperty<Surface>ShiftedBlackIborCapletFloorletExpiryStrikeVolatilities.Meta. surface()The meta-property for thesurfaceproperty.Methods in com.opengamma.strata.pricer.capfloor with parameters of type Surface Modifier and Type Method Description static BlackIborCapletFloorletExpiryStrikeVolatilitiesBlackIborCapletFloorletExpiryStrikeVolatilities. of(IborIndex index, ZonedDateTime valuationDateTime, Surface surface)Obtains an instance from the implied volatility surface and the date-time for which it is valid.static NormalIborCapletFloorletExpiryStrikeVolatilitiesNormalIborCapletFloorletExpiryStrikeVolatilities. of(IborIndex index, ZonedDateTime valuationDateTime, Surface surface)Obtains an instance from the implied volatility surface and the date-time for which it is valid.static ShiftedBlackIborCapletFloorletExpiryStrikeVolatilitiesShiftedBlackIborCapletFloorletExpiryStrikeVolatilities. of(IborIndex index, ZonedDateTime valuationDateTime, Surface surface, Curve shiftCurve)Obtains an instance from the implied volatility surface and the date-time for which it is valid. -
Uses of Surface in com.opengamma.strata.pricer.fxopt
Methods in com.opengamma.strata.pricer.fxopt that return Surface Modifier and Type Method Description SurfaceBlackFxOptionSurfaceVolatilities. getSurface()Gets the Black volatility surface.Methods in com.opengamma.strata.pricer.fxopt that return types with arguments of type Surface Modifier and Type Method Description org.joda.beans.MetaProperty<Surface>BlackFxOptionSurfaceVolatilities.Meta. surface()The meta-property for thesurfaceproperty.Methods in com.opengamma.strata.pricer.fxopt with parameters of type Surface Modifier and Type Method Description static BlackFxOptionSurfaceVolatilitiesBlackFxOptionSurfaceVolatilities. of(CurrencyPair currencyPair, ZonedDateTime valuationDateTime, Surface surface)Obtains an instance from the implied volatility surface and the date-time for which it is valid.static BlackFxOptionSurfaceVolatilitiesBlackFxOptionSurfaceVolatilities. of(FxOptionVolatilitiesName name, CurrencyPair currencyPair, ZonedDateTime valuationDateTime, Surface surface)Obtains an instance from the implied volatility surface and the date-time for which it is valid.BlackFxOptionSurfaceVolatilities.BuilderBlackFxOptionSurfaceVolatilities.Builder. surface(Surface surface)Sets the Black volatility surface. -
Uses of Surface in com.opengamma.strata.pricer.impl.volatility.local
Methods in com.opengamma.strata.pricer.impl.volatility.local that return Surface Modifier and Type Method Description SurfaceLocalVolatilityCalculator. localVolatilityFromImpliedVolatility(Surface impliedVolatilitySurface, double spot, Function<Double,Double> interestRate, Function<Double,Double> dividendRate)Computes local volatility surface from implied volatility surface.SurfaceLocalVolatilityCalculator. localVolatilityFromPrice(Surface callPriceSurface, double spot, Function<Double,Double> interestRate, Function<Double,Double> dividendRate)Computes local volatility surface from call price surface.Methods in com.opengamma.strata.pricer.impl.volatility.local with parameters of type Surface Modifier and Type Method Description DeformedSurfaceDupireLocalVolatilityCalculator. localVolatilityFromImpliedVolatility(Surface impliedVolatilitySurface, double spot, Function<Double,Double> interestRate, Function<Double,Double> dividendRate)InterpolatedNodalSurfaceImpliedTrinomialTreeLocalVolatilityCalculator. localVolatilityFromImpliedVolatility(Surface impliedVolatilitySurface, double spot, Function<Double,Double> interestRate, Function<Double,Double> dividendRate)SurfaceLocalVolatilityCalculator. localVolatilityFromImpliedVolatility(Surface impliedVolatilitySurface, double spot, Function<Double,Double> interestRate, Function<Double,Double> dividendRate)Computes local volatility surface from implied volatility surface.DeformedSurfaceDupireLocalVolatilityCalculator. localVolatilityFromPrice(Surface callPriceSurface, double spot, Function<Double,Double> interestRate, Function<Double,Double> dividendRate)InterpolatedNodalSurfaceImpliedTrinomialTreeLocalVolatilityCalculator. localVolatilityFromPrice(Surface callPriceSurface, double spot, Function<Double,Double> interestRate, Function<Double,Double> dividendRate)SurfaceLocalVolatilityCalculator. localVolatilityFromPrice(Surface callPriceSurface, double spot, Function<Double,Double> interestRate, Function<Double,Double> dividendRate)Computes local volatility surface from call price surface. -
Uses of Surface in com.opengamma.strata.pricer.index
Methods in com.opengamma.strata.pricer.index that return Surface Modifier and Type Method Description SurfaceNormalIborFutureOptionExpirySimpleMoneynessVolatilities. getSurface()Gets the normal volatility surface.Methods in com.opengamma.strata.pricer.index that return types with arguments of type Surface Modifier and Type Method Description org.joda.beans.MetaProperty<Surface>NormalIborFutureOptionExpirySimpleMoneynessVolatilities.Meta. surface()The meta-property for thesurfaceproperty.Methods in com.opengamma.strata.pricer.index with parameters of type Surface Modifier and Type Method Description static NormalIborFutureOptionExpirySimpleMoneynessVolatilitiesNormalIborFutureOptionExpirySimpleMoneynessVolatilities. of(IborIndex index, ZonedDateTime valuationDateTime, Surface surface)Obtains an instance from the volatility surface and the date-time for which it is valid.NormalIborFutureOptionExpirySimpleMoneynessVolatilities.BuilderNormalIborFutureOptionExpirySimpleMoneynessVolatilities.Builder. surface(Surface surface)Sets the normal volatility surface. -
Uses of Surface in com.opengamma.strata.pricer.model
Methods in com.opengamma.strata.pricer.model that return Surface Modifier and Type Method Description SurfaceSabrInterestRateParameters. getAlphaSurface()Gets the alpha (volatility level) surface.SurfaceSabrInterestRateParameters. getBetaSurface()Gets the beta (elasticity) surface.SurfaceSabrInterestRateParameters. getNuSurface()Gets the nu (volatility of volatility) surface.SurfaceSabrInterestRateParameters. getRhoSurface()Gets the rho (correlation) surface.SurfaceSabrInterestRateParameters. getShiftSurface()Gets the shift parameter of shifted SABR model.Methods in com.opengamma.strata.pricer.model with parameters of type Surface Modifier and Type Method Description static SabrInterestRateParametersSabrInterestRateParameters. of(Surface alphaSurface, Surface betaSurface, Surface rhoSurface, Surface nuSurface, Surface shiftSurface, SabrVolatilityFormula sabrFormula)Obtains an instance with shift from nodal surfaces and volatility function provider.static SabrInterestRateParametersSabrInterestRateParameters. of(Surface alphaSurface, Surface betaSurface, Surface rhoSurface, Surface nuSurface, SabrVolatilityFormula sabrFormula)Obtains an instance without shift from nodal surfaces and volatility function provider. -
Uses of Surface in com.opengamma.strata.pricer.swaption
Methods in com.opengamma.strata.pricer.swaption that return Surface Modifier and Type Method Description SurfaceBlackSwaptionExpiryTenorVolatilities. getSurface()Gets the Black volatility surface.SurfaceNormalSwaptionExpirySimpleMoneynessVolatilities. getSurface()Gets the normal volatility surface.SurfaceNormalSwaptionExpiryStrikeVolatilities. getSurface()Gets the normal volatility surface.SurfaceNormalSwaptionExpiryTenorVolatilities. getSurface()Gets the normal volatility surface.Methods in com.opengamma.strata.pricer.swaption that return types with arguments of type Surface Modifier and Type Method Description org.joda.beans.MetaProperty<Surface>BlackSwaptionExpiryTenorVolatilities.Meta. surface()The meta-property for thesurfaceproperty.org.joda.beans.MetaProperty<Surface>NormalSwaptionExpirySimpleMoneynessVolatilities.Meta. surface()The meta-property for thesurfaceproperty.org.joda.beans.MetaProperty<Surface>NormalSwaptionExpiryStrikeVolatilities.Meta. surface()The meta-property for thesurfaceproperty.org.joda.beans.MetaProperty<Surface>NormalSwaptionExpiryTenorVolatilities.Meta. surface()The meta-property for thesurfaceproperty.Methods in com.opengamma.strata.pricer.swaption with parameters of type Surface Modifier and Type Method Description SabrParametersSwaptionVolatilitiesSabrSwaptionCalibrator. calibrateWithFixedBetaAndShift(SabrSwaptionDefinition definition, ZonedDateTime calibrationDateTime, TenorRawOptionData data, RatesProvider ratesProvider, Surface betaSurface, Surface shiftSurface)Calibrate SABR parameters to a set of raw swaption data.SabrParametersSwaptionVolatilitiesSabrSwaptionCalibrator. calibrateWithFixedBetaAndShift(SabrSwaptionDefinition definition, ZonedDateTime calibrationDateTime, TenorRawOptionData data, RatesProvider ratesProvider, Surface betaSurface, Surface shiftSurface, boolean stopOnMathException)Calibrate SABR parameters to a set of raw swaption data.static BlackSwaptionExpiryTenorVolatilitiesBlackSwaptionExpiryTenorVolatilities. of(FixedFloatSwapConvention convention, ZonedDateTime valuationDateTime, Surface surface)Obtains an instance from the implied volatility surface and the date-time for which it is valid.static NormalSwaptionExpirySimpleMoneynessVolatilitiesNormalSwaptionExpirySimpleMoneynessVolatilities. of(FixedFloatSwapConvention convention, ZonedDateTime valuationDateTime, Surface surface)Obtains an instance from the implied volatility surface and the date-time for which it is valid.static NormalSwaptionExpiryStrikeVolatilitiesNormalSwaptionExpiryStrikeVolatilities. of(FixedFloatSwapConvention convention, ZonedDateTime valuationDateTime, Surface surface)Obtains an instance from the implied volatility surface and the date-time for which it is valid.static NormalSwaptionExpiryTenorVolatilitiesNormalSwaptionExpiryTenorVolatilities. of(FixedFloatSwapConvention convention, ZonedDateTime valuationDateTime, Surface surface)Obtains an instance from the implied volatility surface and the date-time for which it is valid.
-