summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-09-08 11:12:00 +0200
committerxengineering <me@xengineering.eu>2024-09-08 17:21:32 +0200
commit51e67cebb905e7831e3a2d9f706a6d756d69fa71 (patch)
tree28624e1e835b7d5e99393af6398930aeadbd213f
parent8bf63bc6bb62f2cc2d52ae7e09424c308ff08362 (diff)
downloadfinance-py-51e67cebb905e7831e3a2d9f706a6d756d69fa71.tar
finance-py-51e67cebb905e7831e3a2d9f706a6d756d69fa71.tar.zst
finance-py-51e67cebb905e7831e3a2d9f706a6d756d69fa71.zip
Add second flow to demo
This makes the output less trivial.
-rwxr-xr-xdemo5
1 files changed, 5 insertions, 0 deletions
diff --git a/demo b/demo
index 737c312..91af210 100755
--- a/demo
+++ b/demo
@@ -17,6 +17,11 @@ def main() -> None:
flows = (
Flow(amount=Decimal(100.0), since=None, until=None),
+ Flow(
+ amount=Decimal(200.0),
+ since=datetime(2026, 1, 1),
+ until=datetime(2027, 1, 1),
+ ),
)
data = simulate(