From 1988662607842601b7d1813c074a07bcf9b48a13 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 26 May 2019 20:19:06 +0200 Subject: [PATCH] Update plot-script to work with exported trades --- scripts/plot_dataframe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/plot_dataframe.py b/scripts/plot_dataframe.py index 7fdc607e0..cc54bfff2 100755 --- a/scripts/plot_dataframe.py +++ b/scripts/plot_dataframe.py @@ -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)