WebCab Bonds for COM v2.01

FixedInterestBonds.NetRedemptionYieldWithExplicitTime Method 

Calculates the net redemption yield excluding capital gains tax (CGT) where the term to redemption is an integer number of years.

public double NetRedemptionYieldWithExplicitTime(
   double price,
   double coupon,
   double taxRate,
   int yearsToRedemption
);

Parameters

price
The current market price of the bond.
coupon
The annual coupon of the bond convertible half-yearly (that is, paid in half-yearly installments).
taxRate
The investor's rate of tax on income in decimal format (i.e. 1 percent = 0.01).
yearsToRedemption
The number of (whole) year until the redemption (or maturity) of the bond.

Return Value

The net redemption yield in decimal format (i.e. 0.01 = 1 percent).

Remarks

That is, the yield of the bond is evaluated where the income tax of the investor is taken into account (i.e. gross yield minus the income tax) and there are an integer number of years until the bond matures.

Remarks:

Exceptions

Exception TypeCondition
NoSolutionExceptionThrown if no solution to the equation corresponding to the yield can be found within the interval 0 - 200 percent.

See Also

FixedInterestBonds Class | WebCab.COM.Finance.Bonds Namespace | NetRedemptionYield