QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
ProportionalNotionalRisk Class Reference

#include <ql/experimental/catbonds/riskynotional.hpp>

+ Inheritance diagram for ProportionalNotionalRisk:
+ Collaboration diagram for ProportionalNotionalRisk:

Public Member Functions

 ProportionalNotionalRisk (const ext::shared_ptr< EventPaymentOffset > &paymentOffset, Real attachement, Real exhaustion)
 
void updatePath (const std::vector< std::pair< Date, Real > > &events, NotionalPath &path) const override
 
- Public Member Functions inherited from NotionalRisk
 NotionalRisk (ext::shared_ptr< EventPaymentOffset > paymentOffset)
 
virtual ~NotionalRisk ()=default
 
virtual void updatePath (const std::vector< std::pair< Date, Real > > &events, NotionalPath &path) const =0
 

Protected Attributes

Real attachement_
 
Real exhaustion_
 
- Protected Attributes inherited from NotionalRisk
ext::shared_ptr< EventPaymentOffsetpaymentOffset_
 

Detailed Description

Definition at line 90 of file riskynotional.hpp.

Constructor & Destructor Documentation

◆ ProportionalNotionalRisk()

ProportionalNotionalRisk ( const ext::shared_ptr< EventPaymentOffset > &  paymentOffset,
Real  attachement,
Real  exhaustion 
)

Definition at line 93 of file riskynotional.hpp.

Member Function Documentation

◆ updatePath()

void updatePath ( const std::vector< std::pair< Date, Real > > &  events,
NotionalPath path 
) const
overridevirtual

Implements NotionalRisk.

Definition at line 101 of file riskynotional.hpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ attachement_

Real attachement_
protected

Definition at line 117 of file riskynotional.hpp.

◆ exhaustion_

Real exhaustion_
protected

Definition at line 118 of file riskynotional.hpp.