Class XirrCalculator
Inheritance
XirrCalculator
Assembly: LemonEdge.Utils.dll
Syntax
public class XirrCalculator : IXirrCalculator
Constructors
XirrCalculator(double, double, List<CashFlowDate>)
Declaration
public XirrCalculator(double lowRate, double highRate, List<CashFlowDate> cashFlow)
Parameters
Properties
CashFlow
Declaration
protected List<CashFlowFractionOfYear> CashFlow { get; set; }
Property Value
HighRate
Declaration
protected double HighRate { get; set; }
Property Value
LowRate
Declaration
protected double LowRate { get; set; }
Property Value
Methods
Calculate(double, int)
Declaration
public double Calculate(double precision, int decimals)
Parameters
Type |
Name |
Description |
double |
precision |
|
int |
decimals |
|
Returns
ToFractionOfYears(List<CashFlowDate>)
Declaration
public static List<CashFlowFractionOfYear> ToFractionOfYears(List<CashFlowDate> cashflows)
Parameters
Returns
Implements
Extension Methods