[kmymoney] [Bug 385993] Error in investment interest (Jahresrendite)
Ralf Habacker
bugzilla_noreply at kde.org
Sun Nov 25 10:20:55 GMT 2018
https://bugs.kde.org/show_bug.cgi?id=385993
Ralf Habacker <ralf.habacker at freenet.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Latest Commit|https://commits.kde.org/kmy |https://commits.kde.org/kmy
|money/2910e97be0d2d1cfd13d7 |money/b87e02c13e8eb027211d0
|663c77baa19905f9eb3 |e69862d9c4370653025
--- Comment #12 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit b87e02c13e8eb027211d0e69862d9c4370653025 by Ralf Habacker.
Committed on 25/11/2018 at 10:19.
Pushed by habacker into branch '5.0'.
Corrections for XIRR implementation to achieve more accurate values
In the Investment Report, the XIRR() function is used to calculate
the annual return. The previous implementation contains some errors
that have been corrected with this commit. In addition, if XIRR
cannot calculate the annual return to notify the user of this case,
an empty column is displayed in the investment report.
The basis for this fix is an update of the XIRR implementation from
the KOffice project [1], which brings the calculation up to date and
a further improvement from the libreoffice XIRR implementation [2] to
get more solutions using a two-pass approach. The class CashFlowList
has been moved to separate files to have a cleaner separation.
The obsolete and unused NPV function has been removed.
Tests for XIRR have been extended to check for recognized issues.
[1] https://github.com/KDE/koffice/blob/master/kcells/functions/financial.cpp
[2]
https://raw.githubusercontent.com/LibreOffice/core/master/scaddins/source/analysis/financial.cxx
FIXED-IN:4.8.3, 5.0.3
Reviewed By: tbaumgart
Differential Revision: https://phabricator.kde.org/D16766
M +1 -0 kmymoney/plugins/views/reports/core/CMakeLists.txt
A +166 -0 kmymoney/plugins/views/reports/core/cashflowlist.cpp
[License: GPL (v2+)]
A +75 -0 kmymoney/plugins/views/reports/core/cashflowlist.h [License:
GPL (v2+)]
M +10 -205 kmymoney/plugins/views/reports/core/querytable.cpp
M +2 -91 kmymoney/plugins/views/reports/core/querytable.h
M +47 -6 kmymoney/plugins/views/reports/core/tests/querytable-test.cpp
https://commits.kde.org/kmymoney/b87e02c13e8eb027211d0e69862d9c4370653025
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list