Examples of discountCurve()


Examples of org.jquantlib.pricingengines.bond.DiscountingBondEngine.discountCurve()

        final DiscountingBondEngine discountingBondEngine = (DiscountingBondEngine)engine;

        return dirtyPriceFromZSpreadFunction(notional(settlement), cashflows_,
                zSpread, dc, comp, freq,
                settlement,
                discountingBondEngine.discountCurve());
    }

    /**
     * @see Bond#dirtyPriceFromZSpread(double, DayCounter, Compounding,
     *      Frequency, Date) using today's date as settlement date.
View Full Code Here

Examples of org.jquantlib.pricingengines.bond.DiscountingBondEngine.discountCurve()

        QL.require(DiscountingBondEngine.class.isAssignableFrom(engine.getClass()), ReflectConstants.WRONG_ARGUMENT_TYPE); // QA:[RG]::verified
        final DiscountingBondEngine discountingBondEngine = (DiscountingBondEngine)engine;

        return dirtyPriceFromZSpreadFunction(notional(settlement), cashflows_,
                zSpread, dc, comp, freq, settlement,
                discountingBondEngine.discountCurve());
    }

    /**
     * @see Bond#dirtyPriceFromZSpread(double, DayCounter, Compounding,
     *      Frequency, Date) using today's date as settlement date.
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.