Main Index |
TIPS Home |
mtrm_st_yldsmtrm_st_ylds (routine)
Calculate medium term note short term equivalent yields
Introduced in release: 1.0
Component: US Bonds
Purpose:
Calculates the following short term security yield measures for a medium term note (a regular bond, odd first coupon bond, odd last coupon bond, and odd first and last coupon bond):
Bad days yield - yield adjusted for weekends and holidays
Money market yield - simple interest yield on a 360 day basis
365 day yield - bad days yield on a 365 day basis
Discount rate - equivalent discount rate
Special Considerations:
This routine should be used only for short term medium term notes. If medium term notes with long maturities are used the routine will calculate meaningless numbers.
Alternatives:
The mtrm_mmey_dr routine may be used instead of this routine, when only a money market equivalent yield and discount rate are required.
Notes:
The maturity date used by this routine can be a maturity/redemption date.
Results:
All results are 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: 04/01/1992 | © 2001 TIPS, Inc. | Doc Version: 5.0 |