Calculate price or yield and accrued interest for Irish government securities
Introduced in release: 1.0 Component: Non-US (developed mkts) Purpose:
Calculates either dollar price or yield to maturity and accrued interest for a Irish government periodic interest payment security.
Notes:
This routine can optionally perform its calculations considering an input ex-dividend date. To calculate an ex-dividend date use the irgb_exd routine.
Results:
All results are calculated using the industry standard rules or generally accepted practices. The variable calculated contains the calculated dollar price or yield to redemption to as many places as possible. The variable ai contains the accrued interest per 100 of maturity value, 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.