#include "bastypes.h"
Data Structures | |
struct | TContingentLeg |
Contingent leg (a.k.a. protection leg). More... | |
struct | TFeeLeg |
Fee leg with fixed payments. More... | |
Enumerations | |
enum | TProtPayConv { PROT_PAY_DEF, PROT_PAY_MAT } |
Protection payment convention for CDS in case of default. More... | |
enum | TAccrualPayConv { ACCRUAL_PAY_NONE, ACCRUAL_PAY_ALL } |
Accrual payment convention for CDS in case of default. More... | |
Functions | |
TFeeLeg * | JpmcdsFeeLegMakeEmpty (int nbDates) |
Memory allocator for TFeeLeg. | |
TContingentLeg * | JpmcdsContingentLegMake (TDate startDate, TDate endDate, double notional, TProtPayConv payType, TBoolean protectStart) |
Constructor for TContingentLeg. | |
void | JpmcdsFeeLegFree (TFeeLeg *p) |
Destructor for TFeeLeg. |
enum TAccrualPayConv |
enum TProtPayConv |
TFeeLeg* JpmcdsFeeLegMakeEmpty | ( | int | nbDates | ) |
Memory allocator for TFeeLeg.
nbDates | Defines array size for accStartDates, accEndDates, payDates. |