24#ifndef quantlib_nth_to_default_hpp
25#define quantlib_nth_to_default_hpp
36 class YieldTermStructure;
86 bool settlePremiumAccrual);
156 void reset()
override;
167 NthToDefault::results> { };
Base class for cash flows.
template base class for option pricing engines
Abstract instrument class.
ext::shared_ptr< Basket > basket
void validate() const override
bool settlePremiumAccrual
Real upfrontPremiumValue_
ext::shared_ptr< Basket > basket_
void setupArguments(PricingEngine::arguments *) const override
const ext::shared_ptr< Basket > & basket() const
bool isExpired() const override
returns whether the instrument might have value greater than zero.
const Date & maturity() const
Real errorEstimate() const
bool settlePremiumAccrual_
Real protectionLegNPV() const
Real premiumLegNPV() const
void setupExpired() const override
void fetchResults(const PricingEngine::results *) const override
Schedule premiumSchedule_
DayCounter dayCounter() const
Protection::Side side() const
template class providing a null value for a given type.
const Date & endDate() const
Classes for default-event handling.
default-probability term structure
std::size_t Size
size of a container
Abstract instrument class.
std::vector< ext::shared_ptr< CashFlow > > Leg
Sequence of cash-flows.
One-factor copula base class.
information on a default-protection contract