Hello everyone,

I have raised a PR <https://github.com/apache/fineract/pull/3791> for
issue-1964 <https://issues.apache.org/jira/browse/FINERACT-1964>.

I have tried to follow all the best practices in my knowledge. Please let
me know if any changes need to be done. Also, please feel free to check
business logic to calculate the amount and the validation operations on the
input, because I used my own knowledge and some research to write them.

*Current Business logic to calculate the interest:*

Maturity amount = P* ((1+ r/n) ^nt))

Where -

A denotes the future valuation of the investment made

P denotes the Principal amount

r denotes the interest rate

n denotes the number of times interest gets compounded per period

t denotes the time period the money was invested

*Current Applied validations on input data:*

1) All input fields (Principal Amount, annualInterestRate, tenureInMonths,
interestPostingPeriodInMonths, interestCompoundingPeriodInMonths) must be
greater than 0 and cannot be null.
2) 0 < interestCompoundingPeriodInMonths <= 12

Thanks and regards,
Uddyan Goyal

Reply via email to