Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XIRR

A library to calculate XIRR in .NET
Usage:
The method is public static double XIRR(List<CashFlowDates> cashflows, int decimals = 4, double maxRate = 1000000)
Example:

           var cashFlows = new List<CashFlowDates>()
            {
                new CashFlowDates(-1000, new DateTime(2017, 1, 1)),
                new CashFlowDates(500, new DateTime(2017, 7, 1)),
                new CashFlowDates(507.5, new DateTime(2018, 1, 1))
            };
            var xirr = CalculationWrapper.XIRR(cashFlows, 6);

You can find a detailed explanation of the algorithm and implementation here.

About

No description, website, or topics provided.

Resources

Stars

10 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages