Introduced in release: 1.0 Component: US Bonds Purpose:
Calculate taxable equivalent yield for a regular bond or odd first coupon bond. Specifically it adjusts the cash flows by the appropriate tax rates and recalculates the yield.
Notes:
The maturity date used by this routine can be a maturity/redemption date.
This routine only works with security_type 1, or 3 through 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.