summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-09-08 11:36:40 +0200
committerxengineering <me@xengineering.eu>2024-09-08 17:21:32 +0200
commit599ef8b119d0b37791b53d9f3a14eeaa658421b1 (patch)
tree8400de973f14c601de599840b7e05e8734b8721b
parent51e67cebb905e7831e3a2d9f706a6d756d69fa71 (diff)
downloadfinance-py-599ef8b119d0b37791b53d9f3a14eeaa658421b1.tar
finance-py-599ef8b119d0b37791b53d9f3a14eeaa658421b1.tar.zst
finance-py-599ef8b119d0b37791b53d9f3a14eeaa658421b1.zip
Fix type annotation for finance.flow.simulate()
-rw-r--r--finance/flow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/finance/flow.py b/finance/flow.py
index 443966c..bc2ee0a 100644
--- a/finance/flow.py
+++ b/finance/flow.py
@@ -47,7 +47,7 @@ def monthly_candidates(start: datetime) -> Generator[datetime, None, None]:
def simulate(
- start: datetime, end: datetime, flows: tuple[Flow]
+ start: datetime, end: datetime, flows: tuple[Flow, ...]
) -> tuple[list[datetime], list[Decimal]]:
dates: list[datetime] = []
values: list[Decimal] = []