Re: [GNC] Working with compound interest on varying amounts

2018-12-05 Thread prl
As David said. In Australia, mortgage accounts can be quite complicated to represent. They are often variable-rate; it's common to pay at 4-weekly intervals while interest is calculated daily, but debited from the account at the end of the calendar month; and advance payments (and sometimes w

Re: [GNC] Working with compound interest on varying amounts

2018-12-04 Thread John Ralls
GnuCash requires Python3 for the python bindings, and in order for them to work in the bundle I’d have to add python3 to it. It’s too big to burden the 99% of users who aren’t interested in Python bindings so it’s not in the bundle. If you’re comfortable building software you can also build your

Re: [GNC] Working with compound interest on varying amounts

2018-12-04 Thread John Ralls
The API documentation is at https://code.gnucash.org/docs/MAINT . It’s for the C/C++ API but the python bindings follow that pretty closely; there’s some python-specific documentation at https://code.gnucash.org/docs/MAINT/python_bindings_page.html

Re: [GNC] Working with compound interest on varying amounts

2018-12-04 Thread Hal Vaughan
This gave me enough to tell me it’s worth it to take time to look into this. (I’ve found so many times I can spend hours or more just looking into questions on some programs only to find out I can’t do anything close to what I want or need to do.) Often I find it helps to just ask a community

Re: [GNC] Working with compound interest on varying amounts

2018-12-04 Thread Stephen M. Butler
On 12/4/18 6:56 AM, Hal Vaughan wrote: Let me add another thought to this. I’m putting it on the original thread, since it really would be something I’m tempted to ask in response to several answers. I already have routines, in Python, that do this in my own ledger program. However, I’m rea

Re: [GNC] Working with compound interest on varying amounts

2018-12-04 Thread Hal Vaughan
Let me add another thought to this. I’m putting it on the original thread, since it really would be something I’m tempted to ask in response to several answers. I already have routines, in Python, that do this in my own ledger program. However, I’m really trying to move away from doing any de

Re: [GNC] Working with compound interest on varying amounts

2018-12-03 Thread Derek Atkins
Hal, Hal Vaughan writes: > So GnuCash doesn’t do this kind of thing? > > If it’s off by a cent or two, I can deal with it, but the problem is I > use one credit line for multiple projects at a time, so I have to be > able to easily work out the interest for each individual project. I'm afraid t

Re: [GNC] Working with compound interest on varying amounts

2018-12-03 Thread Dale Alspach
I am assuming that the credit line is actually using daily compounding. In that case the calculations in the response from Steve are not correct. An alternate approach is to consider is the following. Warning: I tried this with a toy example. It seems to work but there may be some downsides that

Re: [GNC] Working with compound interest on varying amounts

2018-12-03 Thread Stephen M. Butler
On 12/3/18 6:02 AM, Hal Vaughan wrote: So GnuCash doesn’t do this kind of thing? If it’s off by a cent or two, I can deal with it, but the problem is I use one credit line for multiple projects at a time, so I have to be able to easily work out the interest for each individual project. Hal

Re: [GNC] Working with compound interest on varying amounts

2018-12-03 Thread Hal Vaughan
So GnuCash doesn’t do this kind of thing? If it’s off by a cent or two, I can deal with it, but the problem is I use one credit line for multiple projects at a time, so I have to be able to easily work out the interest for each individual project. Hal > On Dec 3, 2018, at 7:03 AM, David T. wr

Re: [GNC] Working with compound interest on varying amounts

2018-12-03 Thread David T. via gnucash-user
Hal, Most such calculations are devilishly difficult to represent with 100% accuracy, which is why I have always opted to base my transactions on the statement, rather than try to anticipate what the finance company is going to come up with.  David T  On Mon, Dec 3, 2018 at 12:10, Hal Vau