C# Class Sharekhan.domain.TermDeposit

Inheritance: Instrument
Show file Open project: anagri/sharekhan Class Usage Examples

Public Methods

Method Description
CalculateRealizedProfits ( ITransactionCollection listOfTransactions ) : double
CurrentMarketValue ( IList transactions ) : Price
IsMatured ( ) : bool
TermDeposit ( Term term, Price investedAmount, Symbol symbol, string description, InterestRate interestRate, int interestPayoutFrequency ) : System

Protected Methods

Method Description
Validate ( ) : void

Method Details

CalculateRealizedProfits() public method

public CalculateRealizedProfits ( ITransactionCollection listOfTransactions ) : double
listOfTransactions ITransactionCollection
return double

CurrentMarketValue() public method

public CurrentMarketValue ( IList transactions ) : Price
transactions IList
return Price

IsMatured() public method

public IsMatured ( ) : bool
return bool

TermDeposit() public method

public TermDeposit ( Term term, Price investedAmount, Symbol symbol, string description, InterestRate interestRate, int interestPayoutFrequency ) : System
term Term
investedAmount Price
symbol Symbol
description string
interestRate InterestRate
interestPayoutFrequency int
return System

Validate() protected method

protected Validate ( ) : void
return void