From 338f2a2322b87affc4c34f63517f31773e4ef131 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 1 Jun 2019 06:26:03 +0200 Subject: [PATCH] Use kwarg to call persistence.init() --- scripts/plot_dataframe.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/plot_dataframe.py b/scripts/plot_dataframe.py index 74e8573e5..9316c953b 100755 --- a/scripts/plot_dataframe.py +++ b/scripts/plot_dataframe.py @@ -55,7 +55,8 @@ timeZone = pytz.UTC def load_trades(args: Namespace, pair: str, timerange: TimeRange) -> pd.DataFrame: trades: pd.DataFrame = pd.DataFrame() if args.db_url: - persistence.init(args.db_url, False) + persistence.init(args.db_url, clean_open_orders=False) + columns = ["pair", "profit", "open_time", "close_time", "open_rate", "close_rate", "duration"]