Calculate taxable equivalent yield for a multi-stepped coupon bond
Introduced in release: 1.0 Component: US Bonds Purpose:
Calculate taxable equivalent yield for a multi-stepped coupon bond. Specifically it adjusts the cash flows by the appropriate tax rates and recalculates the yield.
Notes:
A maximum of 20 conversion dates is accommodated.
This routine only works with security_type 1,3,4,5,7 and 8. It does not work with any foreign security types.
Results:
The returned yield is calculated using the industry standard rules or generally accepted practices selected by the parameter security_type and is returned as a percentage, 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.