Calculate bond price to maturity for Spanish government securities
Introduced in release: 1.0 Component: Non-US (developed mkts) Purpose:
Calculates price to maturity for a Spanish government regular bond with an optional interest free period. Specifically it performs calculations on Bonos, and Obligaciones.
Alternatives:
This routine requires inputs normally provided by other interim routines. The spgb_py_ai routine uses a coupon rate and relevant dates in determining the number of remaining periods to maturity for computing a price.
Results:
All results are calculated using the industry standard rules or generally accepted practices. The function returns the calculated dollar price 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.