Calculate Payment-In-Kind (PIK) odd last bond dollar price, yield to maturity and accrued interest
Introduced in release: 1.0 Component: US Bonds Purpose:
Calculates either dollar price or yield to maturity and accrued interest for a Payment In Kind bond.
Alternatives:
If you have a bond with an odd last period use pik_py_ol
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.