public class ConstantPaymentBondBuilder
extends java.lang.Object
Constructor and Description |
---|
ConstantPaymentBondBuilder() |
Modifier and Type | Method and Description |
---|---|
static double |
ConstantUniformPaymentAmount(double dblBondNotional,
double dblCouponRate,
int iTenorInYears)
Compute the Constant Uniform Payment Amount for the Parameters of the Specified Mortgage Bond
|
static BondComponent |
Prepay(java.lang.String strName,
JulianDate dtEffective,
java.lang.String strCurrency,
int iNumPayment,
java.lang.String strDayCount,
int iPayFrequency,
double dblCouponRate,
double dblFeeRate,
double dblCPR,
double dblConstantAmount,
double dblInitialNotional)
Construct an Instance of the Constant Payment Bond with a Deterministic Pre-payment Rate
|
static BondComponent |
Standard(java.lang.String strName,
JulianDate dtEffective,
java.lang.String strCurrency,
int iNumPayment,
java.lang.String strDayCount,
int iPayFrequency,
double dblCouponRate,
double dblFeeRate,
double dblConstantAmount,
double dblInitialNotional)
Construct an Instance of the Constant Payment Bond
|
public static final BondComponent Standard(java.lang.String strName, JulianDate dtEffective, java.lang.String strCurrency, int iNumPayment, java.lang.String strDayCount, int iPayFrequency, double dblCouponRate, double dblFeeRate, double dblConstantAmount, double dblInitialNotional)
strName
- Mortgage Bond Instance NamedtEffective
- Effective DatestrCurrency
- CurrencyiNumPayment
- The (Maximum) Number of PaymentsstrDayCount
- Coupon/Accrual Day CountiPayFrequency
- Pay FrequencydblCouponRate
- The Coupon RatedblFeeRate
- The Fee RatedblConstantAmount
- The Fixed Monthly AmountdblInitialNotional
- The Initial Bond Notionalpublic static final BondComponent Prepay(java.lang.String strName, JulianDate dtEffective, java.lang.String strCurrency, int iNumPayment, java.lang.String strDayCount, int iPayFrequency, double dblCouponRate, double dblFeeRate, double dblCPR, double dblConstantAmount, double dblInitialNotional)
strName
- Mortgage Bond Instance NamedtEffective
- Effective DatestrCurrency
- CurrencyiNumPayment
- The (Maximum) Number of PaymentsstrDayCount
- Coupon/Accrual Day CountiPayFrequency
- Pay FrequencydblCouponRate
- The Coupon RatedblFeeRate
- The Fee RatedblCPR
- the Constant Pre-payment RatedblConstantAmount
- The Fixed Monthly AmountdblInitialNotional
- The Initial Bond Notionalpublic static final double ConstantUniformPaymentAmount(double dblBondNotional, double dblCouponRate, int iTenorInYears) throws java.lang.Exception
dblBondNotional
- The Current NotionaldblCouponRate
- The Coupon RateiTenorInYears
- Tenor in Yearsjava.lang.Exception
- Thrown if the Constant Uniform Payment Amount cannot be computed