Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: hledger-interest | Distribution: SUSE Linux Enterprise 15 SP6 |
Version: 1.6.6 | Vendor: openSUSE |
Release: bp156.1.3 | Build date: Mon May 13 19:47:19 2024 |
Group: Unspecified | Build host: obs-power9-15 |
Size: 58346922 | Source RPM: hledger-interest-1.6.6-bp156.1.3.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://hackage.haskell.org/package/hledger-interest | |
Summary: Computes interest for a given account |
Hledger-interest is a small command-line utility based on Simon Michael's hleder library. Its purpose is to compute interest for a given ledger account. Using command line flags, the program can be configured to use various schemes for day-counting, such as act/act, 30/360, 30E/360, and 30/360isda. Furthermore, it supports a (small) number of interest schemes, i.e. annual interest with a fixed rate and the scheme mandated by the German BGB288 (Basiszins fuer Verbrauchergeschaefte). Extending support for other schemes is fairly easy, but currently requires changes to the source code. As an example, consider the following loan, stored in a file called 'test.ledger': > 2008/09/26 Loan > Assets:Bank EUR 10000.00 > Liabilities:Bank > > 2008/11/27 Payment > Assets:Bank EUR -3771.12 > Liabilities:Bank > > 2009/05/03 Payment > Assets:Bank EUR -1200.00 > Liabilities:Bank > > 2010/12/10 Payment > Assets:Bank EUR -3700.00 > Liabilities:Bank Suppose that loan earns 5% interest per year, and payments amortize interest before amortizing the principal claim, then the resulting ledger would look like this: > $ hledger-interest --file=test.ledger --source=Expenses:Interest --target=Liabilities:Bank --30-360 --annual=0.05 Liabilities:Bank > 2008/09/26 Loan > Assets:Bank EUR 10000.00 > Liabilities:Bank > > 2008/11/27 Payment > Assets:Bank EUR -3771.12 > Liabilities:Bank > > 2008/11/27 5.00% interest for EUR -10000.00 over 61 days > Liabilities:Bank EUR -84.72 > Expenses:Interest > > 2008/12/31 5.00% interest for EUR -6313.60 over 34 days > Liabilities:Bank EUR -29.81 > Expenses:Interest > > 2009/05/03 Payment > Assets:Bank EUR -1200.00 > Liabilities:Bank > > 2009/05/03 5.00% interest for EUR -6343.42 over 123 days > Liabilities:Bank EUR -108.37 > Expenses:Interest > > 2009/12/31 5.00% interest for EUR -5251.78 over 238 days > Liabilities:Bank EUR -173.60 > Expenses:Interest > > 2010/12/10 Payment > Assets:Bank EUR -3700.00 > Liabilities:Bank > > 2010/12/10 5.00% interest for EUR -5425.38 over 340 days > Liabilities:Bank EUR -256.20 > Expenses:Interest > > 2010/12/31 5.00% interest for EUR -1981.58 over 21 days > Liabilities:Bank EUR -5.78 > Expenses:Interest Running the utility with '--help' gives a brief overview over the available options: > Usage: hledger-interest [OPTION...] ACCOUNT > -h --help print this message and exit > -V --version show version number and exit > -v --verbose echo input ledger to stdout (default) > -q --quiet don't echo input ledger to stdout > --today compute interest up until today > -f FILE --file=FILE input ledger file (pass '-' for stdin) > -s ACCOUNT --source=ACCOUNT interest source account > -t ACCOUNT --target=ACCOUNT interest target account > -I --ignore-assertions ignore any failing balance assertions > --act use 'act' day counting convention > --30-360 use '30/360' day counting convention > --30E-360 use '30E/360' day counting convention > --30E-360isda use '30E/360isda' day counting convention > --constant=RATE constant interest rate > --annual-schedule=SCHEDULE schedule of annual interest rates. > syntax: '[(Date1,Rate1),(Date2,Rate2),...]' > --annual=RATE annual interest rate > --bgb288 compute interest according to German BGB288.
BSD-3-Clause
* Tue Dec 05 2023 Peter Simons <psimons@suse.com> - Update hledger-interest to version 1.6.6 revision 2. Upstream does not provide a change log file. * Mon Jun 06 2022 Peter Simons <psimons@suse.com> - Update hledger-interest to version 1.6.4. Upstream does not provide a change log file. * Mon Mar 14 2022 Peter Simons <psimons@suse.com> - Update hledger-interest to version 1.6.3 revision 2. Upstream has revised the Cabal build instructions on Hackage. * Sun Dec 05 2021 Peter Simons <psimons@suse.com> - Update hledger-interest to version 1.6.3 revision 1. Upstream has revised the Cabal build instructions on Hackage. * Mon Sep 27 2021 psimons@suse.com - Update hledger-interest to version 1.6.3. Upstream does not provide a change log file. * Tue Aug 17 2021 psimons@suse.com - Update hledger-interest to version 1.6.2. Upstream does not provide a change log file. * Fri Mar 12 2021 psimons@suse.com - Update hledger-interest to version 1.6.1. Upstream does not provide a change log file. * Thu Dec 17 2020 Ondřej Súkup <mimi.vx@gmail.com> - disable %{ix86} build * Tue Dec 08 2020 psimons@suse.com - Update hledger-interest to version 1.6.0 revision 1. Upstream has revised the Cabal build instructions on Hackage. * Fri Sep 04 2020 psimons@suse.com - Update hledger-interest to version 1.6.0. Upstream does not provide a change log file. * Wed Aug 19 2020 Michel Normand <normand@linux.vnet.ibm.com> - Add _constraints with 6GB min disk space for ppc64/ppc64le * Tue Aug 18 2020 Peter Simons <psimons@suse.com> - Replace %setup -q with the more modern %autosetup macro. * Tue Jun 09 2020 psimons@suse.com - Add hledger-interest at version 1.5.5.
/usr/bin/hledger-interest /usr/share/doc/packages/hledger-interest /usr/share/doc/packages/hledger-interest/README.md /usr/share/licenses/hledger-interest /usr/share/licenses/hledger-interest/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Jul 9 19:51:39 2024