WebCab Bonds Web Services for .NET v2.01

Interest.DepositCompounded Method 

Calculates the return for a fixed interest bearing investment which is compounded n times a year over m years.

public double DepositCompounded(
   double interest,
   double periods,
   DateTime purchaseDate,
   DateTime saleDate,
   double deposit,
   string businessCalendarName
);

Parameters

interest
The fixed interest rate paid by the investment per annum given in decimal format (i.e. 1 percent = 0.01).
periods
The number of times per annum which the interest is compounded over (i.e. n).
purchaseDate
The date when the fixed interest investment was purchased.
saleDate
The date when the fixed interest investment was sold.
deposit
The amount which is invested.
businessCalendarName
The name of one of the implemented business calendars, "London" by default.

Return Value

The value to which the fixed interest investment has accumulated to after m years.

See Also

Interest Class | BasicBonds Namespace