Examples of AnnuityCouponInflationYearOnYearMonthlyDefinition


Examples of com.opengamma.analytics.financial.instrument.annuity.AnnuityCouponInflationYearOnYearMonthlyDefinition

    ArgumentChecker.notNull(settlementDate, "Settlement date");
    ArgumentChecker.notNull(businessDayConvention, "Business day convention");
    ArgumentChecker.notNull(calendar, "Calendar");
    final AnnuityCouponFixedDefinition fixedLeg = AnnuityCouponFixedDefinition.from(priceIndex.getCurrency(), settlementDate, Period.ofYears(tenor), paymentPeriod, calendar,
        fixedLegDayCount, businessDayConvention, endOfMonth, notional, fixedRate, isPayer);
    final AnnuityCouponInflationYearOnYearMonthlyDefinition inflationLeg = AnnuityCouponInflationYearOnYearMonthlyDefinition.from(priceIndex, settlementDate, notional, Period.ofYears(tenor),
        paymentPeriod, businessDayConvention, calendar, endOfMonth, conventionalMonthLag, monthLag, payNotional);
    return new SwapFixedInflationYearOnYearDefinition(fixedLeg, inflationLeg);
  }
View Full Code Here

Examples of com.opengamma.analytics.financial.instrument.annuity.AnnuityCouponInflationYearOnYearMonthlyDefinition

    ArgumentChecker.notNull(settlementDate, "Settlement date");
    ArgumentChecker.notNull(generator, "generator");
    ArgumentChecker.notNull(tenor, "tenor");
    final AnnuityCouponFixedDefinition fixedLeg = AnnuityCouponFixedDefinition.from(generator.getIndexPrice().getCurrency(), settlementDate, tenor, generator.getFixedLegPeriod(),
        generator.getCalendar(), generator.getFixedLegDayCount(), generator.getBusinessDayConvention(), generator.isEndOfMonth(), notional, fixedRate, isPayer);
    final AnnuityCouponInflationYearOnYearMonthlyDefinition inflationLeg = AnnuityCouponInflationYearOnYearMonthlyDefinition.from(generator.getIndexPrice(), settlementDate, notional,
        tenor, generator.getFixedLegPeriod(), generator.getBusinessDayConvention(), generator.getCalendar(), generator.isEndOfMonth(), generator.getMonthLag(), generator.getMonthLag(),
        generator.payNotional());
    return new SwapFixedInflationYearOnYearDefinition(fixedLeg, inflationLeg);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.