#include "tcurve.h"Functions | |
| EXPORT double | JpmcdsZeroPrice (TCurve *zeroCurve, TDate date) |
| Calculates the zero price for a given date. | |
| double | JpmcdsForwardZeroPrice (TCurve *zeroCurve, TDate startDate, TDate maturityDate) |
| Calculates the zero price for a given start date and maturity date. | |
| double | JpmcdsZeroRate (TCurve *zeroCurve, TDate date) |
| Calculates the zero rate for a given date using ACT/365F and continously compounded rates. | |
| int | JpmcdsConvertCompoundRate (double inRate, double inBasis, long inDayCountConv, double outBasis, long outDayCountConv, double *outRate) |
| Converts a compound rate from one frequency to another. | |
| int JpmcdsConvertCompoundRate | ( | double | inRate, | |
| double | inBasis, | |||
| long | inDayCountConv, | |||
| double | outBasis, | |||
| long | outDayCountConv, | |||
| double * | outRate | |||
| ) |
Converts a compound rate from one frequency to another.
Can also convert between ACT-style day count conventions.
Calculates the zero price for a given start date and maturity date.
Returns NaN for errors.
Calculates the zero price for a given date.
Returns NaN for errors.