fix default datadir not working in plot-script

This commit is contained in:
xmatthias 2018-06-12 21:38:14 +02:00
parent bd6ed3ada4
commit 1f6b9c332b

View File

@ -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,