QuantLib: a free/open-source library for quantitative finance
Reference manual - version 1.40
Loading...
Searching...
No Matches
DiscountingBondEngine Class Reference

Discounting engine for bonds. More...

#include <ql/pricingengines/bond/discountingbondengine.hpp>

Public Member Functions

 DiscountingBondEngine (Handle< YieldTermStructure > discountCurve=Handle< YieldTermStructure >(), const ext::optional< bool > &includeSettlementDateFlows=ext::nullopt)
void calculate () const override
Handle< YieldTermStructurediscountCurve () const

Detailed Description

Discounting engine for bonds.

This engine discounts future bond cashflows to the settlement date.

Member Function Documentation

◆ calculate()

void calculate ( ) const
overridevirtual

Implements PricingEngine.