Calculate price, yield , and AI for an odd 1st, 2nd, last bond - fixed/floating rate w/date adjustments
Introduced in release: 1.9 Component: Non-US (emerging mkts) Purpose:
Calculates either dollar price or yield to maturity and accrued interest for an odd 1st/2nd/last coupon bond which amortizes principal and changes from fixed rate to floating rate. The cash flows can be adjusted to business dates.
Alternatives:
If you do not need to adjust cash flows for weekends and holidays use pffa_py_ai.
Notes:
The maturity date used by this routine can be a maturity/redemption date.
Results:
All results are calculated using the industry standard rules or generally accepted practices, accurate to as many places as supported by a double precision value. The variable calculated contains the calculated dollar price or yield to redemption. The variable ai contains the accrued interest per 100 of maturity value.
Error Conditions:
Returned values should be ignored for a non-zero status. See Errors.