Looks nice. However there is no newline at the end of the files. Which can cause errors in some compilers and interpreters.
I also think that perhaps it would be better to add options to not include unconfirmed money as this money is not confirmed yet and most likely cannot be spend. An optional argument to the function should be able to do the trick.
The first point is fixed. Second one remains. Perhaps we could address that one later in a different branch because it is a different and perhaps unnecessary feature.
Looks nice. However there is no newline at the end of the files. Which can cause errors in some compilers and interpreters.
I also think that perhaps it would be better to add options to not include unconfirmed money as this money is not confirmed yet and most likely cannot be spend. An optional argument to the function should be able to do the trick.