diff options
author | xengineering <me@xengineering.eu> | 2024-09-08 17:02:33 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-09-08 17:21:32 +0200 |
commit | 458a24d09f95eefb161728d9676ecdfca30e3f5e (patch) | |
tree | d3260b2531f42a6e8335661312661302b9653730 /demo.py | |
parent | 6973093a2b80b4fb9e216d1b3e329dd4c2badc7c (diff) | |
download | finance-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-x | demo.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |