Examples of IborLeg


Examples of org.jquantlib.cashflow.IborLeg

      final double redemption) {
    super(exercise, conversionRatio, dividends, callability, creditSpread,
          issueDate, settlementDays, dayCounter, schedule, redemption);

        // notional forcibly set to 100
        this.cashflows_ = new IborLeg(schedule, index)
        .withPaymentDayCounter(dayCounter)
        .withNotionals(100.0)
        .withPaymentAdjustment(schedule.businessDayConvention())
        .withFixingDays(fixingDays)
        .withSpreads(new Array(spreads)).Leg();
View Full Code Here

Examples of org.jquantlib.cashflow.IborLeg

      final double redemption,
      final Date issueDate) {
    super(settlementDays, schedule.calendar(), issueDate);
    maturityDate_ = schedule.endDate();

    cashflows_ = new IborLeg(schedule, index)
    .withNotionals(faceAmount)
    .withPaymentDayCounter(paymentDayCounter)
    .withPaymentAdjustment(paymentConvention)
    .withFixingDays(fixingDays)
    .withGearings(gearings)
View Full Code Here

Examples of org.jquantlib.cashflow.IborLeg

    final Schedule schedule = new Schedule(startDate, maturityDate_, new Period(couponFrequency),
        calendar_, accrualConvention, accrualConvention,
        rule, endOfMonth,
        firstDate, nextToLastDate);

    cashflows_ = new IborLeg(schedule, index.currentLink())
    .withNotionals(faceAmount)
    .withPaymentDayCounter(accrualDayCounter)
    .withPaymentAdjustment(paymentConvention)
    .withFixingDays(fixingDays)
    .withGearings(gearings)
View Full Code Here

Examples of org.jquantlib.cashflow.IborLeg

        .withCouponRates(fixedRate)
        .withPaymentAdjustment(paymentConvention)
        .Leg();

        // JM where are gearings set they cannot be null for the floating leg.
        final Leg floatingLeg = new IborLeg(floatingSchedule, iborIndex)
        .withNotionals(nominal)
        .withPaymentDayCounter(floatingDayCount)
        .withPaymentAdjustment(paymentConvention)

        //FIXME:: .withFixingDays (fixingDays) // FIXME: slight deviation from quantlib, need to expose fixing days up the stack
View Full Code Here

Examples of org.jquantlib.cashflow.IborLeg

        this.liborFraction = liborFraction;
        this.liborSpread = liborSpread;

        final BusinessDayConvention convention = liborSchedule.businessDayConvention();
       
        final Leg iborLeg = new IborLeg(liborSchedule, liborIndex)
                      .withNotionals(nominal)
                      .withPaymentDayCounter(liborDayCount)
                      .withPaymentAdjustment(convention)
                      .withFixingDays(liborIndex.fixingDays())
                      .withGearings(liborFraction)
View Full Code Here

Examples of org.jquantlib.cashflow.IborLeg

      final double redemption) {
    super(exercise, conversionRatio, dividends, callability, creditSpread,
          issueDate, settlementDays, dayCounter, schedule, redemption);

        // notional forcibly set to 100
        this.cashflows_ = new IborLeg(schedule, index)
        .withPaymentDayCounter(dayCounter)
        .withNotionals(100.0)
        .withPaymentAdjustment(schedule.businessDayConvention())
        .withFixingDays(fixingDays)
        .withSpreads(new Array(spreads)).Leg();
View Full Code Here

Examples of org.jquantlib.cashflow.IborLeg

      final Date issueDate) {

    super(settlementDays, schedule.calendar(), issueDate);
    maturityDate_ = schedule.endDate().clone();

    cashflows_ = new IborLeg(schedule, index)
            .withNotionals(faceAmount)
            .withPaymentDayCounter(paymentDayCounter)
            .withPaymentAdjustment(paymentConvention)
            .withFixingDays(fixingDays)
            .withGearings(gearings)
View Full Code Here

Examples of org.jquantlib.cashflow.IborLeg

    Schedule schedule = new Schedule(startDate, maturityDate_, new Period(couponFrequency),
                calendar_, accrualConvention, accrualConvention,
                rule, endOfMonth, firstDate, nextToLastDate);

    cashflows_ = new IborLeg(schedule, index.currentLink())
            .withNotionals(faceAmount)
            .withPaymentDayCounter(accrualDayCounter)
            .withPaymentAdjustment(paymentConvention)
            .withFixingDays(fixingDays)
            .withGearings(gearings)
View Full Code Here

Examples of org.jquantlib.cashflow.IborLeg

        .withCouponRates(fixedRate)
        .withPaymentAdjustment(paymentConvention)
        .Leg();

        // JM where are gearings set they cannot be null for the floating leg.
        final Leg floatingLeg = new IborLeg(floatingSchedule, iborIndex)
        .withNotionals(nominal)
        .withPaymentDayCounter(floatingDayCount)
        .withPaymentAdjustment(paymentConvention)

        //FIXME:: .withFixingDays (fixingDays) // FIXME: slight deviation from quantlib, need to expose fixing days up the stack
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.