Go To Documentation Main IndexMain Index
Go To TIPS, Inc.TIPS Home
dngb_py_ai

dngb_py_ai (routine)

Calculate price or yield and accrued interest for Danish 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 Danish government regular bond or odd first coupon bond.

Notes: This routine can optionally perform its calculations considering an input ex-dividend date. To calculate an ex-dividend date use the dngb_exd routine.


Results: All results are calculated using the industry standard rules or generally accepted practices, and are 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.

Last Mod Date: 03/26/1993© 2001 TIPS, Inc.Doc Version: 5.0