Calculates current full period's interest for a Greek government bond
Introduced in release: 1.3 Component: Non-US (developed mkts) Purpose:
Calculate the extended amount of interest due, taking into account the quantity, for a Greek government regular bond or odd first coupon bond. The interest calculated is for the full period in which the settlement date falls, including settlement within an odd first period.
Special Considerations:
In this routine the current period starts on the prior coupon payment date.
Notes:
This routine is intended for use in calculating settlement date cash flows. If the settlement date is a coupon payment date, the return value is the amount of interest due to be paid on the settlement date. In this particular case the calculation differs from that provided by grgb_fpi, which calculates the full period's interest due to be paid on the next coupon payment date (the calculated amounts will differ only for odd coupon periods). Additionally, the settlement date provided to the routine is not required to be an actual settlement date. The routine will calculate a full period's interest for any date provided as a settlement date.
This routine can optionally perform its calculations considering an input ex-dividend date. To calculate an ex-dividend date use the grgb_exd routine.
Results:
The result is returned as a dollar and cents amount, scaled by the quantity and 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.