From 1f6b9c332b5d3f38bed26dd539ef29d44fae6ae1 Mon Sep 17 00:00:00 2001 From: xmatthias Date: Tue, 12 Jun 2018 21:38:14 +0200 Subject: [PATCH] fix default datadir not working in plot-script --- scripts/plot_profit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/plot_profit.py b/scripts/plot_profit.py index 803bf71de..012446065 100755 --- a/scripts/plot_profit.py +++ b/scripts/plot_profit.py @@ -121,7 +121,7 @@ def plot_profit(args: Namespace) -> None: logger.info('Filter, keep pairs %s' % pairs) tickers = optimize.load_data( - datadir=args.datadir, + datadir=config.get('datadir'), pairs=pairs, ticker_interval=tick_interval, refresh_pairs=False,