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

ofsl_y_fp (routine)

Calculate yield for a odd 1st, 2nd, last period bond - in 1st period

Introduced in release: 1.2
Component: Non-US (emerging mkts)
Purpose: Calculates the yield for a periodic payment security with an optional odd 1st, second, and/or last period (odd 1st/2nd/last coupon bond) with the settlement date in the odd first period.

Alternatives: This routine requires inputs normally provided by other interim routines. The ofsl_py_ai routine uses a coupon rate and relevant dates in computing a yield. ofsl_py_ai is also more inclusive in that it internally determines the number of remaining periods to maturity and selects the appropriate pricing algorithm.

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: 12/29/1995© 2001 TIPS, Inc.Doc Version: 5.0