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

mtrm_ytm_l1p (routine)

Calculate medium term note yield to maturity with 1 or less period to redemption

Introduced in release: 1.0
Component: Generic
Purpose: Calculates the yield to maturity for a medium term note (a regular bond, odd first coupon bond, odd last coupon bond, and odd first and last coupon bond) with less than or equal to 1 period remaining to maturity.

Alternatives: This routine requires inputs normally provided by other interim routines. The mtrm_py_ai routine uses a coupon rate and relevant dates in computing a yield. mtrm_py_ai is also more inclusive in that it internally determines the number of remaining periods to maturity and selects the appropriate pricing algorithm (less than or equal to one period or greater than one period).

Results: All results are calculated using the industry standard rules or generally accepted practices. The function returns the calculated yield to redemption, accurate to as many places as supported by a double precision value.

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

Last Mod Date: 10/12/1990© 2001 TIPS, Inc.Doc Version: 5.0