23#ifndef QL_PATCH_SOLARIS
42 const Real inceptionTrancheNotional =
54 ext::dynamic_pointer_cast<Coupon>(
59 if (i->hasOccurred(today)) {
63 ext::shared_ptr<Coupon> coupon = ext::dynamic_pointer_cast<Coupon>(i);
64 Date paymentDate = coupon->date();
65 Date startDate = std::max(coupon->accrualStartDate(),
67 Date endDate = coupon->accrualEndDate();
69 Date defaultDate = startDate + (endDate-startDate)/2;
74 ((inceptionTrancheNotional - e2) / inceptionTrancheNotional)
98 ext::dynamic_pointer_cast<Coupon>(
112 Real fairSpread = 0.;
SyntheticCDO::results results_
SyntheticCDO::arguments arguments_
std::map< std::string, ext::any > additionalResults
Handle< YieldTermStructure > discountCurve_
void calculate() const override
template class providing a null value for a given type.
DateProxy & evaluationDate()
the date at which pricing is to be performed.
static Settings & instance()
access to the unique instance
ext::shared_ptr< Basket > basket
std::vector< Real > expectedTrancheLoss
Coupon paying a fixed annual rate.
Interest-rate term structure.