cashflow-analysis functions in addition to those in QuantLib More...
#include <qle/cashflows/cashflows.hpp>
Collaboration diagram for CashFlows:Static Public Member Functions | |
YieldTermStructure functions | |
| static Real | spreadNpv (const Leg &leg, const YieldTermStructure &discountCurve, bool includeSettlementDateFlows, Date settlementDate=Date(), Date npvDate=Date()) |
| NPV due to any spreads on a leg. More... | |
| static Real | sumCashflows (const Leg &leg, const Date &startDate, const Date &endDate) |
Return the sum of the cashflows on leg after startDate and before or on endDate. More... | |
| static std::vector< Rate > | couponRates (const Leg &leg) |
| static std::vector< Rate > | couponDcfRates (const Leg &leg) |
Private Member Functions | |
| CashFlows () | |
| CashFlows (const CashFlows &) | |
cashflow-analysis functions in addition to those in QuantLib
Definition at line 33 of file cashflows.hpp.
|
private |
|
static |
NPV due to any spreads on a leg.
The spread NPV is the sum of the spread-related cash flows on the leg, each discounted according to the given term structure.
Definition at line 27 of file cashflows.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Return the sum of the cashflows on leg after startDate and before or on endDate.
Definition at line 54 of file cashflows.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Return only the coupon rates from a leg i.e. only Cashflow that casts to Coupon Maintains the order of the coupon rates
Definition at line 70 of file cashflows.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Return the coupon rates multiplied by day count fraction from a leg i.e. only Cashflow that casts to Coupon. Maintains the order of the coupon rates
Definition at line 82 of file cashflows.cpp.
Here is the call graph for this function:
Here is the caller graph for this function: