Uses of Interface
com.opengamma.strata.pricer.DiscountFactors
-
Packages that use DiscountFactors Package Description com.opengamma.strata.pricer Calculators for financial instruments.com.opengamma.strata.pricer.bond Calculators for bonds.com.opengamma.strata.pricer.credit Calculators for credit instruments, such as Credit Default Swap (CDS).com.opengamma.strata.pricer.fx Calculators for FX instruments, such as FX forward and FX swap.com.opengamma.strata.pricer.rate Calculators for rates instruments, such as Forward Rate Agreement (FRA) and interest rate swap. -
-
Uses of DiscountFactors in com.opengamma.strata.pricer
Classes in com.opengamma.strata.pricer that implement DiscountFactors Modifier and Type Class Description classSimpleDiscountFactorsProvides access to discount factors for a currency based on a discount factor curve.classZeroRateDiscountFactorsProvides access to discount factors for a currency based on a zero rate continuously compounded curve.classZeroRatePeriodicDiscountFactorsProvides access to discount factors for a currency based on a zero rate periodically-compounded curve.Methods in com.opengamma.strata.pricer that return DiscountFactors Modifier and Type Method Description DiscountFactorsBaseProvider. discountFactors(Currency currency)Gets the discount factors for a currency.static DiscountFactorsDiscountFactors. of(Currency currency, LocalDate valuationDate, Curve curve)Obtains an instance from a curve.DiscountFactorsDiscountFactors. withParameter(int parameterIndex, double newValue)DiscountFactorsDiscountFactors. withPerturbation(ParameterPerturbation perturbation)Methods in com.opengamma.strata.pricer with parameters of type DiscountFactors Modifier and Type Method Description CurrencyAmountDiscountingPaymentPricer. presentValue(Payment payment, DiscountFactors discountFactors)Computes the present value of the payment by discounting.PointSensitivityBuilderDiscountingPaymentPricer. presentValueSensitivity(Payment payment, DiscountFactors discountFactors)Compute the present value curve sensitivity of the payment.PointSensitivityBuilderDiscountingPaymentPricer. presentValueSensitivityWithSpread(Payment payment, DiscountFactors discountFactors, double zSpread, CompoundedRateType compoundedRateType, int periodsPerYear)Compute the present value curve sensitivity of the payment with z-spread.CurrencyAmountDiscountingPaymentPricer. presentValueWithSpread(Payment payment, DiscountFactors discountFactors, double zSpread, CompoundedRateType compoundedRateType, int periodsPerYear)Computes the present value of the payment with z-spread by discounting. -
Uses of DiscountFactors in com.opengamma.strata.pricer.bond
Methods in com.opengamma.strata.pricer.bond that return DiscountFactors Modifier and Type Method Description DiscountFactorsIssuerCurveDiscountFactors. getDiscountFactors()Gets the underlying discount factors for a single currency.DiscountFactorsRepoCurveDiscountFactors. getDiscountFactors()Gets the underlying discount factors for a single currency.Methods in com.opengamma.strata.pricer.bond that return types with arguments of type DiscountFactors Modifier and Type Method Description org.joda.beans.MetaProperty<DiscountFactors>IssuerCurveDiscountFactors.Meta. discountFactors()The meta-property for thediscountFactorsproperty.org.joda.beans.MetaProperty<DiscountFactors>RepoCurveDiscountFactors.Meta. discountFactors()The meta-property for thediscountFactorsproperty.ImmutableMap<Pair<LegalEntityGroup,Currency>,DiscountFactors>ImmutableLegalEntityDiscountingProvider. getIssuerCurves()Gets the issuer curves, keyed by group and currency.ImmutableMap<Pair<RepoGroup,Currency>,DiscountFactors>ImmutableLegalEntityDiscountingProvider. getRepoCurves()Gets the repo curves, keyed by group and currency.org.joda.beans.MetaProperty<ImmutableMap<Pair<LegalEntityGroup,Currency>,DiscountFactors>>ImmutableLegalEntityDiscountingProvider.Meta. issuerCurves()The meta-property for theissuerCurvesproperty.org.joda.beans.MetaProperty<ImmutableMap<Pair<RepoGroup,Currency>,DiscountFactors>>ImmutableLegalEntityDiscountingProvider.Meta. repoCurves()The meta-property for therepoCurvesproperty.Methods in com.opengamma.strata.pricer.bond with parameters of type DiscountFactors Modifier and Type Method Description static IssuerCurveDiscountFactorsIssuerCurveDiscountFactors. of(DiscountFactors discountFactors, LegalEntityGroup legalEntityGroup)Obtains an instance based on discount factors and legal entity group.static RepoCurveDiscountFactorsRepoCurveDiscountFactors. of(DiscountFactors discountFactors, RepoGroup group)Obtains an instance based on discount factors and group.Method parameters in com.opengamma.strata.pricer.bond with type arguments of type DiscountFactors Modifier and Type Method Description ImmutableLegalEntityDiscountingProvider.BuilderImmutableLegalEntityDiscountingProvider.Builder. issuerCurves(Map<Pair<LegalEntityGroup,Currency>,DiscountFactors> issuerCurves)Sets the issuer curves, keyed by group and currency.ImmutableLegalEntityDiscountingProvider.BuilderImmutableLegalEntityDiscountingProvider.Builder. repoCurves(Map<Pair<RepoGroup,Currency>,DiscountFactors> repoCurves)Sets the repo curves, keyed by group and currency. -
Uses of DiscountFactors in com.opengamma.strata.pricer.credit
Methods in com.opengamma.strata.pricer.credit that return DiscountFactors Modifier and Type Method Description DiscountFactorsCreditDiscountFactors. toDiscountFactors()Creates an instance ofDiscountFactors.DiscountFactorsIsdaCreditDiscountFactors. toDiscountFactors() -
Uses of DiscountFactors in com.opengamma.strata.pricer.fx
Methods in com.opengamma.strata.pricer.fx that return DiscountFactors Modifier and Type Method Description DiscountFactorsDiscountFxForwardRates. getBaseCurrencyDiscountFactors()Gets the discount factors for the base currency of the currency pair.DiscountFactorsDiscountFxForwardRates. getCounterCurrencyDiscountFactors()Gets the discount factors for the counter currency of the currency pair.Methods in com.opengamma.strata.pricer.fx that return types with arguments of type DiscountFactors Modifier and Type Method Description org.joda.beans.MetaProperty<DiscountFactors>DiscountFxForwardRates.Meta. baseCurrencyDiscountFactors()The meta-property for thebaseCurrencyDiscountFactorsproperty.org.joda.beans.MetaProperty<DiscountFactors>DiscountFxForwardRates.Meta. counterCurrencyDiscountFactors()The meta-property for thecounterCurrencyDiscountFactorsproperty.Methods in com.opengamma.strata.pricer.fx with parameters of type DiscountFactors Modifier and Type Method Description static DiscountFxForwardRatesDiscountFxForwardRates. of(CurrencyPair currencyPair, FxRateProvider fxRateProvider, DiscountFactors baseCurrencyFactors, DiscountFactors counterCurrencyFactors)Obtains an instance based on two discount factors, one for each currency.DiscountFxForwardRatesDiscountFxForwardRates. withDiscountFactors(DiscountFactors baseCurrencyFactors, DiscountFactors counterCurrencyFactors)Returns a new instance with different discount factors. -
Uses of DiscountFactors in com.opengamma.strata.pricer.rate
Methods in com.opengamma.strata.pricer.rate that return DiscountFactors Modifier and Type Method Description DiscountFactorsImmutableRatesProvider. discountFactors(Currency currency)DiscountFactorsDiscountIborIndexRates. getDiscountFactors()Gets the underlying discount factor curve.DiscountFactorsDiscountOvernightIndexRates. getDiscountFactors()Gets the underlying discount factor curve.Methods in com.opengamma.strata.pricer.rate that return types with arguments of type DiscountFactors Modifier and Type Method Description org.joda.beans.MetaProperty<DiscountFactors>DiscountIborIndexRates.Meta. discountFactors()The meta-property for thediscountFactorsproperty.org.joda.beans.MetaProperty<DiscountFactors>DiscountOvernightIndexRates.Meta. discountFactors()The meta-property for thediscountFactorsproperty.Methods in com.opengamma.strata.pricer.rate with parameters of type DiscountFactors Modifier and Type Method Description static DiscountIborIndexRatesDiscountIborIndexRates. of(IborIndex index, DiscountFactors discountFactors)Obtains an instance based on discount factors with no historic fixings.static DiscountIborIndexRatesDiscountIborIndexRates. of(IborIndex index, DiscountFactors discountFactors, LocalDateDoubleTimeSeries fixings)Obtains an instance based on discount factors and historic fixings.static DiscountOvernightIndexRatesDiscountOvernightIndexRates. of(OvernightIndex index, DiscountFactors discountFactors)Obtains an instance based on discount factors with no historic fixings.static DiscountOvernightIndexRatesDiscountOvernightIndexRates. of(OvernightIndex index, DiscountFactors discountFactors, LocalDateDoubleTimeSeries fixings)Obtains an instance based on discount factors and historic fixings.DiscountIborIndexRatesDiscountIborIndexRates. withDiscountFactors(DiscountFactors factors)Returns a new instance with different discount factors.DiscountOvernightIndexRatesDiscountOvernightIndexRates. withDiscountFactors(DiscountFactors factors)Returns a new instance with different discount factors.
-