WebCab Bonds for COM v2.01

FixedInterestBonds.HoldingPeriodReturnWithExplicitTime Method 

Calculates the half-yearly holding period return on an interest payment date when the bond is held for a (whole) number of years.

public double HoldingPeriodReturnWithExplicitTime(
   double price,
   double coupon,
   double sellingPrice,
   int yearsHeld
);

Parameters

price
The purchase price on the bond.
coupon
The annual coupon of the bond convertible half-yearly (that is, payable in half-yearly installments).
sellingPrice
The market price at which the investor can sell the bond (when the holding period is evaluated).
yearsHeld
The number of (whole) years over which the bond in held.

Return Value

The holding period return in decimal format (i.e. 1 percent = 0.01)

Remarks

Recall that, the holding period return is the return over the period that the bond was held by the investor.

Remarks:

Exceptions

Exception TypeCondition
NoSolutionExceptionThrown if no solution to the equation can be found.

See Also

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