C# Class ShareKhan.domain.Portfolio

Inheritance: IPortfolio
显示文件 Open project: anagri/sharekhan Class Usage Examples

Public Methods

Method Description
CalcShortTermCapitalGainTax ( FinYear year ) : void
CalculateRealizedProfits ( ITransactionCollection listOfTransactions ) : double
CalculateRealizedProfits ( ITransactionCollection statement, Instrument instrument ) : double
CurrentMarketValue ( ) : Price
CurrentMarketValue ( Symbol symbol ) : Price
CurrentMarketValueOther ( ) : Price
GetEffectiveRateOfReturn ( ) : double
Portfolio ( ) : System
Portfolio ( ITransactionCollection transactionCollection, IPortfolioBalance portfolioBalance ) : System

Method Details

CalcShortTermCapitalGainTax() public method

public CalcShortTermCapitalGainTax ( FinYear year ) : void
year FinYear
return void

CalculateRealizedProfits() public method

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

CalculateRealizedProfits() public method

public CalculateRealizedProfits ( ITransactionCollection statement, Instrument instrument ) : double
statement ITransactionCollection
instrument Sharekhan.domain.Instrument
return double

CurrentMarketValue() public method

public CurrentMarketValue ( ) : Price
return Sharekhan.domain.Price

CurrentMarketValue() public method

public CurrentMarketValue ( Symbol symbol ) : Price
symbol Sharekhan.domain.Symbol
return Sharekhan.domain.Price

CurrentMarketValueOther() public method

public CurrentMarketValueOther ( ) : Price
return Sharekhan.domain.Price

GetEffectiveRateOfReturn() public method

public GetEffectiveRateOfReturn ( ) : double
return double

Portfolio() public method

public Portfolio ( ) : System
return System

Portfolio() public method

public Portfolio ( ITransactionCollection transactionCollection, IPortfolioBalance portfolioBalance ) : System
transactionCollection ITransactionCollection
portfolioBalance IPortfolioBalance
return System