summaryrefslogtreecommitdiff
path: root/finance/test_flow.py
AgeCommit message (Collapse)Author
2024-09-08Use list[tuple[datetime, Decimal]] consistentlyxengineering
This type is useful for finance-py in general. It is often required to handle money in datetime context. Using this type consistently makes the code easier to read and maintain.
2024-09-08Implement finance.flow.simulate()xengineering
2024-09-08Fix old usage of name "income"xengineering
This was renamed to "flow".
2024-09-08Implement Flow.since and Flow.untilxengineering
That way a flow can be limited to a certain time frame.
2024-09-08Rename income to flowxengineering
Modeling income and expenses separately does not make sense since the only difference is the sign of the amount. Separate definitions would lead to a lot of duplicated code.