WebCab Bonds for COM v2.01

Interest.Deposit Method 

Calculates the return for a fixed interest bearing investment over n years.

public double Deposit(
   double interest,
   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).
purchaseDate
The date when the fixed interest investement 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 which the deposit has accumulated to when the investment is sold.

Remarks

@excepFunction deposit

See Also

Interest Class | WebCab.COM.Finance.Bonds Namespace