Package org.jquantlib.indexes

Examples of org.jquantlib.indexes.IborIndex


     */
    @Override
    //TODO: solve macros
    protected void initializeDates() {
        // dummy ibor index with curve/swap arguments
        final IborIndex clonedIborIndex = iborIndex.clone(this.termStructureHandle);

        // do not pass the spread here, as it might be a Quote i.e. it can dinamically change
        this.swap = new MakeVanillaSwap(tenor, clonedIborIndex, 0.0, fwdStart)
        .withFixedLegDayCount(fixedDayCount)
        .withFixedLegTenor(new Period(fixedFrequency))
View Full Code Here


        QL.require(monthsToEnd > monthsToStart , "monthsToEnd must be greater than monthsToStart"); // QA:[RG]::verified // TODO: message
        this.quote = rate;
        this.monthsToStart = monthsToStart;
        //never take fixing into account
        iborIndex = new IborIndex("no-fix",
                new Period(monthsToEnd - monthsToStart, TimeUnit.Months),
                fixingDays,
                null,
                calendar,
                convention,
View Full Code Here

        super(rate);
        QL.validateExperimentalMode();

        QL.require(monthsToEnd > monthsToStart , "monthsToEnd must be greater than monthsToStart");
        this.monthsToStart = monthsToStart;
        iborIndex = new IborIndex(
                "no-fix", // never take fixing into account
                new Period(monthsToEnd - monthsToStart, TimeUnit.Months),
                fixingDays,
                null,
                calendar,
View Full Code Here

        super(rate);
        QL.validateExperimentalMode();

        this.quote = rate;
        this.monthsToStart = monthsToStart;
        iborIndex = new IborIndex(
                "no-fix", // never take fixing into account
                i.tenor(), i.fixingDays(), null, i.fixingCalendar(), i.businessDayConvention(),
                i.endOfMonth(), i.dayCounter(), termStructureHandle);
        initializeDates();
View Full Code Here

                final boolean endOfMonth,
                final DayCounter dayCounter) {
        super(rate);
        QL.validateExperimentalMode();

        this.iborIndex = new IborIndex(
                      "no-fix", // never take fixing into account
                      tenor, fixingDays,
                      new Currency(), calendar, convention,
                      endOfMonth, dayCounter, termStructureHandle);
        initializeDates();
View Full Code Here

                final boolean endOfMonth,
                final DayCounter dayCounter) {
        super(rate);
        QL.validateExperimentalMode();

        this.iborIndex = new IborIndex(
                      "no-fix", // never take fixing into account
                      tenor, fixingDays,
                      new Currency(), calendar, convention,
                      endOfMonth, dayCounter, termStructureHandle);
        initializeDates();
View Full Code Here

                final Handle<Quote> rate,
                final IborIndex iborIndex) {
        super(rate);
        QL.validateExperimentalMode();

        this.iborIndex = new IborIndex(
                      "no-fix", // never take fixing into account
                      iborIndex.tenor(), iborIndex.fixingDays(), new Currency(),
                      iborIndex.fixingCalendar(), iborIndex.businessDayConvention(),
                      iborIndex.endOfMonth(), iborIndex.dayCounter(), termStructureHandle);
        initializeDates();
View Full Code Here

                /*@Rate*/ final double  rate,
                final IborIndex i) {
        super(rate);
        QL.validateExperimentalMode();

        this.iborIndex = new IborIndex(
                      "no-fix", // never take fixing into account
                      i.tenor(), i.fixingDays(), new Currency(),
                      i.fixingCalendar(), i.businessDayConvention(),
                      i.endOfMonth(), i.dayCounter(), termStructureHandle);
        initializeDates();
View Full Code Here

                final Calendar calendar,
                final BusinessDayConvention convention,
                final boolean endOfMonth,
                final DayCounter dayCounter) {
        super(rate);
        this.iborIndex = new IborIndex(
                      "no-fix", // never take fixing into account
                      tenor, fixingDays,
                      new Currency(), calendar, convention,
                      endOfMonth, dayCounter, termStructureHandle);
        initializeDates();
View Full Code Here

                final boolean endOfMonth,
                final DayCounter dayCounter) {
        super(rate);
        QL.validateExperimentalMode();

        this.iborIndex = new IborIndex(
                      "no-fix", // never take fixing into account
                      tenor, fixingDays,
                      new Currency(), calendar, convention,
                      endOfMonth, dayCounter, this.termStructureHandle);
        initializeDates();
View Full Code Here

TOP

Related Classes of org.jquantlib.indexes.IborIndex

Copyright © 2018 www.massapicom. 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.