WebCab Bonds Web Services for Delphi

FixedInterestBonds.GrossRedemptionYieldWhenCouponDue Method 

Calculates the gross redemption yield if there is less than half a year to the next coupon payment and there is a whole number of years from the next coupon until the maturity of the bond.

public double GrossRedemptionYieldWhenCouponDue(
   double price,
   double coupon,
   double nextCoupon,
   DateTime couponDate,
   DateTime redemption,
   DateTime evaluationDate,
   string businessCalendarName
);

Parameters

price
The current market price of the bond.
coupon
The coupon per annum payable in half-yearly installments.
nextCoupon
The next interest payment which will be received in `years2Coupon' years expressed as a decimal.
couponDate
The date when the next coupon in paid.
redemption
The redemption (i.e. maturity) date of the bond.
evaluationDate
The date when the gross redemption yield is evaluated.
businessCalendarName
The name of one of the implemented business calendars, "London" by default.

Remarks

That is, the total (annual) yield of the fixed interest bond from now until maturity where the tax implications of the investor are not taken into account.

Remarks:

Exceptions

Exception TypeCondition
NoSolutionExceptionThrown if no solution was found for the yield within the range 0 - 200 percent.

See Also

FixedInterestBonds Class | BasicBonds Namespace | GrossRedemptionYield