C# Class Sharekhan.domain.TransactionCollection

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

Public Methods

Method Description
Add ( Transaction transaction ) : bool
GetAllUniqueInstruments ( ) : ISet
GetEffectiveReturn ( System.DateTime effectiveDate, double rate ) : Price
GetXIRR ( double lb, double ub ) : Rate
RealizedProfit ( ) : RealizedProfit

Method Details

Add() public method

public Add ( Transaction transaction ) : bool
transaction Transaction
return bool

GetAllUniqueInstruments() public method

public GetAllUniqueInstruments ( ) : ISet
return ISet

GetEffectiveReturn() public method

public GetEffectiveReturn ( System.DateTime effectiveDate, double rate ) : Price
effectiveDate System.DateTime
rate double
return Price

GetXIRR() public method

public GetXIRR ( double lb, double ub ) : Rate
lb double
ub double
return Rate

RealizedProfit() public method

public RealizedProfit ( ) : RealizedProfit
return RealizedProfit