Update plot-script to work with exported trades

This commit is contained in:
Matthias 2019-05-26 20:19:06 +02:00
parent 3e2c808b4b
commit 1988662607

View File

@ -74,7 +74,7 @@ def load_trades(args: Namespace, pair: str, timerange: TimeRange) -> pd.DataFram
file = Path(args.exportfilename)
if file.exists():
load_backtest_data(file)
trades = load_backtest_data(file)
else:
trades = pd.DataFrame([], columns=BT_DATA_COLUMNS)