HW_GetZero() function |
HW_GetZero() functionHW_GetZero(argument list
)
This function returns the continuously compounded zero coupon rate corresponding to a user-specified date as interpolated from the zero curve using a cubic-spline. The function uses the following arguments:
Argument | Description | Restrictions |
Valuation_Date | valuation date (e.g. today) | valid Excel date number |
Target_Date | date defining the zero coupon rate to be returned | valid Excel date number >= Valuation_Date |
Zero_Dates | array of zero coupon curve dates | strictly ascending order The first date of this array must be Valuation_Date |
Zero_Rates | array of continuously compounded riskless rates in decimal form (e.g. six percent entered as 0.06) corresponding to Zero_Dates | > 0 |
OAS | parallel shift of the zero curve in decimal form | |
Bucket_Start | beginning of bucket for zero curve shifts | set to 0 if curve shift is not desired |
Bucket_End | end of bucket for zero curve shift | >= Bucket_Start |
Bucket_Shift | parallel shift of the zero curve between Bucket_Start and Bucket_End in decimal form | set to 0 if curve shock is not desired |
© 1995-98 Leap of Faith Research Inc.