Uses of Class
com.opengamma.strata.product.swap.ResolvedSwapLeg
-
Packages that use ResolvedSwapLeg Package Description com.opengamma.strata.market.amount Defines representations of amounts typically used as result types.com.opengamma.strata.pricer.impl.rate.swap com.opengamma.strata.pricer.swap Calculators for interest rate swaps.com.opengamma.strata.pricer.swaption Calculators for swaptions.com.opengamma.strata.product.capfloor Entity objects describing Ibor cap/floor.com.opengamma.strata.product.cms Entity objects describing Constant Maturity Swap (CMS) or CMS cap/floor.com.opengamma.strata.product.swap Entity objects describing a swap. -
-
Uses of ResolvedSwapLeg in com.opengamma.strata.market.amount
Methods in com.opengamma.strata.market.amount with parameters of type ResolvedSwapLeg Modifier and Type Method Description static SwapLegAmountSwapLegAmount. of(ResolvedSwapLeg leg, CurrencyAmount amount)Obtains an instance from a swap leg and amount. -
Uses of ResolvedSwapLeg in com.opengamma.strata.pricer.impl.rate.swap
Methods in com.opengamma.strata.pricer.impl.rate.swap that return ResolvedSwapLeg Modifier and Type Method Description static ResolvedSwapLegCashFlowEquivalentCalculator. cashFlowEquivalentFixedLeg(ResolvedSwapLeg fixedLeg, RatesProvider ratesProvider)Computes cash flow equivalent of fixed leg.static ResolvedSwapLegCashFlowEquivalentCalculator. cashFlowEquivalentIborLeg(ResolvedSwapLeg iborLeg, RatesProvider ratesProvider)Computes cash flow equivalent of Ibor leg.static ResolvedSwapLegCashFlowEquivalentCalculator. cashFlowEquivalentOnLeg(ResolvedSwapLeg onLeg, RatesProvider multicurve)Computes cash flow equivalent of overnight leg.static ResolvedSwapLegCashFlowEquivalentCalculator. cashFlowEquivalentSwap(ResolvedSwap swap, RatesProvider ratesProvider)Computes cash flow equivalent of swap.Methods in com.opengamma.strata.pricer.impl.rate.swap with parameters of type ResolvedSwapLeg Modifier and Type Method Description static ImmutableMap<Payment,PointSensitivityBuilder>CashFlowEquivalentCalculator. cashFlowEquivalentAndSensitivityFixedLeg(ResolvedSwapLeg fixedLeg, RatesProvider ratesProvider)Computes cash flow equivalent and sensitivity of fixed leg.static ImmutableMap<Payment,PointSensitivityBuilder>CashFlowEquivalentCalculator. cashFlowEquivalentAndSensitivityIborLeg(ResolvedSwapLeg iborLeg, RatesProvider ratesProvider)Computes cash flow equivalent and sensitivity of Ibor leg.static ImmutableMap<Payment,PointSensitivityBuilder>CashFlowEquivalentCalculator. cashFlowEquivalentAndSensitivityOnLeg(ResolvedSwapLeg onLeg, RatesProvider multicurve)Computes cash flow equivalent of and sensitivity overnight leg.static ResolvedSwapLegCashFlowEquivalentCalculator. cashFlowEquivalentFixedLeg(ResolvedSwapLeg fixedLeg, RatesProvider ratesProvider)Computes cash flow equivalent of fixed leg.static ResolvedSwapLegCashFlowEquivalentCalculator. cashFlowEquivalentIborLeg(ResolvedSwapLeg iborLeg, RatesProvider ratesProvider)Computes cash flow equivalent of Ibor leg.static ResolvedSwapLegCashFlowEquivalentCalculator. cashFlowEquivalentOnLeg(ResolvedSwapLeg onLeg, RatesProvider multicurve)Computes cash flow equivalent of overnight leg.static List<Payment>CashFlowEquivalentCalculator. normalize(ResolvedSwapLeg input)Extract the payments from theNotionalExchangein the SwapLeg. -
Uses of ResolvedSwapLeg in com.opengamma.strata.pricer.swap
Methods in com.opengamma.strata.pricer.swap with parameters of type ResolvedSwapLeg Modifier and Type Method Description CurrencyAmountDiscountingSwapLegPricer. accruedInterest(ResolvedSwapLeg leg, RatesProvider provider)Calculates the accrued interest since the last payment.doubleDiscountingSwapLegPricer. annuityCash(ResolvedSwapLeg fixedLeg, double yield)Computes the conventional cash annuity from a swap leg.ValueDerivativesDiscountingSwapLegPricer. annuityCashDerivative(ResolvedSwapLeg fixedLeg, double yield)Computes the derivative of the conventional cash annuity with respect to the yield from a swap leg.CashFlowsDiscountingSwapLegPricer. cashFlows(ResolvedSwapLeg leg, RatesProvider provider)Calculates the future cash flows of the swap leg.doubleDiscountingSwapLegPricer. couponEquivalent(ResolvedSwapLeg leg, RatesProvider provider, double pvbp)Calculates the coupon equivalent of a swap leg.MultiCurrencyAmountDiscountingSwapLegPricer. currencyExposure(ResolvedSwapLeg leg, RatesProvider provider)Calculates the currency exposure of the swap leg.CurrencyAmountDiscountingSwapLegPricer. currentCash(ResolvedSwapLeg leg, RatesProvider provider)Calculates the current cash of the swap leg.ExplainMapDiscountingSwapLegPricer. explainPresentValue(ResolvedSwapLeg leg, RatesProvider provider)Explain present value for a swap leg.CurrencyAmountDiscountingSwapLegPricer. forecastValue(ResolvedSwapLeg leg, RatesProvider provider)Calculates the forecast value of the swap leg.PointSensitivityBuilderDiscountingSwapLegPricer. forecastValueSensitivity(ResolvedSwapLeg leg, RatesProvider provider)Calculates the forecast value sensitivity of the swap leg.CurrencyAmountDiscountingSwapLegPricer. presentValue(ResolvedSwapLeg leg, Currency currency, RatesProvider provider)Calculates the present value of the swap leg, converted to the specified currency.CurrencyAmountDiscountingSwapLegPricer. presentValue(ResolvedSwapLeg leg, RatesProvider provider)Calculates the present value of the swap leg.PointSensitivityBuilderDiscountingSwapLegPricer. presentValueSensitivity(ResolvedSwapLeg leg, RatesProvider provider)Calculates the present value sensitivity of the swap leg.doubleDiscountingSwapLegPricer. pvbp(ResolvedSwapLeg leg, RatesProvider provider)Computes the Present Value of a Basis Point for a swap leg.PointSensitivityBuilderDiscountingSwapLegPricer. pvbpSensitivity(ResolvedSwapLeg fixedLeg, RatesProvider provider)Calculates the Present Value of a Basis Point curve sensitivity for a fixed swap leg. -
Uses of ResolvedSwapLeg in com.opengamma.strata.pricer.swaption
Methods in com.opengamma.strata.pricer.swaption that return ResolvedSwapLeg Modifier and Type Method Description protected ResolvedSwapLegVolatilitySwaptionCashParYieldProductPricer. fixedLeg(ResolvedSwap swap)Checks that there is exactly one fixed leg and returns it.protected ResolvedSwapLegVolatilitySwaptionPhysicalProductPricer. fixedLeg(ResolvedSwap swap)Checks that there is exactly one fixed leg and returns it.Methods in com.opengamma.strata.pricer.swaption with parameters of type ResolvedSwapLeg Modifier and Type Method Description protected doubleVolatilitySwaptionCashParYieldProductPricer. calculateNumeraire(ResolvedSwaption swaption, ResolvedSwapLeg fixedLeg, double forward, RatesProvider ratesProvider)Calculates the numeraire, used to multiply the results.protected doubleVolatilitySwaptionCashParYieldProductPricer. calculateStrike(ResolvedSwapLeg fixedLeg)Calculates the strike. -
Uses of ResolvedSwapLeg in com.opengamma.strata.product.capfloor
Methods in com.opengamma.strata.product.capfloor that return types with arguments of type ResolvedSwapLeg Modifier and Type Method Description Optional<ResolvedSwapLeg>ResolvedIborCapFloor. getPayLeg()Gets the optional pay leg of the product.org.joda.beans.MetaProperty<ResolvedSwapLeg>ResolvedIborCapFloor.Meta. payLeg()The meta-property for thepayLegproperty.Methods in com.opengamma.strata.product.capfloor with parameters of type ResolvedSwapLeg Modifier and Type Method Description static ResolvedIborCapFloorResolvedIborCapFloor. of(ResolvedIborCapFloorLeg capFloorLeg, ResolvedSwapLeg payLeg)Obtains an instance from a cap/floor leg and a pay leg. -
Uses of ResolvedSwapLeg in com.opengamma.strata.product.cms
Methods in com.opengamma.strata.product.cms that return types with arguments of type ResolvedSwapLeg Modifier and Type Method Description Optional<ResolvedSwapLeg>ResolvedCms. getPayLeg()Gets the optional pay leg of the product.org.joda.beans.MetaProperty<ResolvedSwapLeg>ResolvedCms.Meta. payLeg()The meta-property for thepayLegproperty.Methods in com.opengamma.strata.product.cms with parameters of type ResolvedSwapLeg Modifier and Type Method Description static ResolvedCmsResolvedCms. of(ResolvedCmsLeg cmsLeg, ResolvedSwapLeg payLeg)Obtains an instance from a CMS leg and a pay leg. -
Uses of ResolvedSwapLeg in com.opengamma.strata.product.swap
Methods in com.opengamma.strata.product.swap that return ResolvedSwapLeg Modifier and Type Method Description ResolvedSwapLegResolvedSwapLeg.Builder. build()ResolvedSwapLegKnownAmountSwapLeg. resolve(ReferenceData refData)Converts this swap leg to the equivalentResolvedSwapLeg.ResolvedSwapLegRateCalculationSwapLeg. resolve(ReferenceData refData)Converts this swap leg to the equivalentResolvedSwapLeg.ResolvedSwapLegRatePeriodSwapLeg. resolve(ReferenceData refData)Converts this swap leg to the equivalentResolvedSwapLeg.ResolvedSwapLegSwapLeg. resolve(ReferenceData refData)Resolves this swap leg using the specified reference data.Methods in com.opengamma.strata.product.swap that return types with arguments of type ResolvedSwapLeg Modifier and Type Method Description Class<? extends ResolvedSwapLeg>ResolvedSwapLeg.Meta. beanType()Optional<ResolvedSwapLeg>ResolvedSwap. getLeg(PayReceive payReceive)Gets the first pay or receive leg of the swap.ImmutableList<ResolvedSwapLeg>ResolvedSwap. getLegs()Gets the legs of the swap.ImmutableList<ResolvedSwapLeg>ResolvedSwap. getLegs(SwapLegType type)Gets the legs of the swap with the specified type.Optional<ResolvedSwapLeg>ResolvedSwap. getPayLeg()Gets the first pay leg of the swap.Optional<ResolvedSwapLeg>ResolvedSwap. getReceiveLeg()Gets the first receive leg of the swap.org.joda.beans.MetaProperty<ImmutableList<ResolvedSwapLeg>>ResolvedSwap.Meta. legs()The meta-property for thelegsproperty.Methods in com.opengamma.strata.product.swap with parameters of type ResolvedSwapLeg Modifier and Type Method Description ResolvedSwap.BuilderResolvedSwap.Builder. legs(ResolvedSwapLeg... legs)Sets thelegsproperty in the builder from an array of objects.static ResolvedSwapResolvedSwap. of(ResolvedSwapLeg... legs)Creates a swap from one or more swap legs.Method parameters in com.opengamma.strata.product.swap with type arguments of type ResolvedSwapLeg Modifier and Type Method Description ResolvedSwap.BuilderResolvedSwap.Builder. legs(List<ResolvedSwapLeg> legs)Sets the legs of the swap.
-