Test for empty case

This commit is contained in:
Matthias
2020-08-20 19:56:41 +02:00
parent f5a9001dc0
commit 4f1179d85c
2 changed files with 8 additions and 1 deletions

View File

@@ -31,7 +31,6 @@ def store_backtest_stats(recordfilename: Path, stats: Dict[str, DataFrame]) -> N
recordfilename.parent,
f'{recordfilename.stem}-{datetime.now().strftime("%Y-%m-%d_%H-%M-%S")}'
).with_suffix(recordfilename.suffix)
print(stats)
file_dump_json(filename, stats)
latest_filename = Path.joinpath(filename.parent, LAST_BT_RESULT_FN)