You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@fineract.apache.org by "Lionel Raymundi (JIRA)" <ji...@apache.org> on 2017/08/23 14:32:00 UTC

[jira] [Commented] (FINERACT-512) IRR Calculation

    [ https://issues.apache.org/jira/browse/FINERACT-512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16138425#comment-16138425 ] 

Lionel Raymundi commented on FINERACT-512:
------------------------------------------

I would like to start a discussion on how to implement it. To be able to add it to the loan's "calculate" post method, the best place i found to do it is in the "generate" method of AbstractLoanScheduleGenerator, but that's maybe not the best place. Any feedback is welcome. 

A second point to discuss is how to add this in loan's get api. 
.- Should it be considered as a differente "association" in this API? 
.- Should it be calculated every time the API is called or stored in the database when the loan is created?
 

> IRR Calculation
> ---------------
>
>                 Key: FINERACT-512
>                 URL: https://issues.apache.org/jira/browse/FINERACT-512
>             Project: Apache Fineract
>          Issue Type: Improvement
>            Reporter: Lionel Raymundi
>            Assignee: Markus Geiss
>
> To be able to compare different loan offers (or generally investment options) it is useful to find the Internal Rate of Return [1], which considers all costs of the loan.  
> To calculate this in the most flexible way, the periods taken on the formula should be days, so the IRR calculation would be in a daily-basis. Usually to compare offers, this should be transformed in anual or monthly basis, but that is out of this scope.
> This info should be added at least in Loan's GET API and in Loan's calculate POST response (to be able to compare loans before creating them).
> [1] http://www.investopedia.com/terms/i/irr.asp



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)