summaryrefslogtreecommitdiff
path: root/demo.py
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-09-08 17:02:33 +0200
committerxengineering <me@xengineering.eu>2024-09-08 17:21:32 +0200
commit458a24d09f95eefb161728d9676ecdfca30e3f5e (patch)
treed3260b2531f42a6e8335661312661302b9653730 /demo.py
parent6973093a2b80b4fb9e216d1b3e329dd4c2badc7c (diff)
downloadfinance-py-458a24d09f95eefb161728d9676ecdfca30e3f5e.tar
finance-py-458a24d09f95eefb161728d9676ecdfca30e3f5e.tar.zst
finance-py-458a24d09f95eefb161728d9676ecdfca30e3f5e.zip
Split flow.py to simulate.py and model.py
model.py should be a file containing only dataclasses to model finance. simulate.py should take care of the simulation of that finance data to create a financial forecast.
Diffstat (limited to 'demo.py')
-rwxr-xr-xdemo.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/demo.py b/demo.py
index bb9cb98..9626ead 100755
--- a/demo.py
+++ b/demo.py
@@ -6,7 +6,8 @@ import argparse
from datetime import datetime
from decimal import Decimal
-from finance.flow import Flow, simulate
+from finance.model import Flow
+from finance.simulate import simulate
from finance.visualize import display