WebCab Options and Futures Web Services for .NET v3.1

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 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 which the deposit has accumulated to when the investment is sold.

See Also

Interest Class | Futures Namespace