Go To Documentation Main IndexMain Index
Go To TIPS, Inc.TIPS Home
mtrm_cpnrate

mtrm_cpnrate (routine)

Calculate the coupon rate for an medium term note

Introduced in release: 1.6
Component: Generic
Purpose: Calculates the coupon rate for a medium term note given a price, yield, coupon dates, and redemption value. Specifically it will calculate the coupon rate for a regular bond, odd first coupon bond, odd last coupon bond, and odd first and last coupon bond.

Notes: The maturity date used by this routine can be a maturity/redemption date.

Results: The coupon rate is calculated using the industry standard rules or generally accepted practices. The function returns the coupon rate as a percent, accurate to as many places as specified by the tolerance with the maximum as the number of place supported by a double precision value.

Error Conditions: Returned values should be ignored for a non-zero status. See Errors.

Last Mod Date: 01/11/2000© 2001 TIPS, Inc.Doc Version: 5.0