From ad2a5f1717c765fae677ef2fa2977ad8163469b7 Mon Sep 17 00:00:00 2001 From: Gerald Lonlas Date: Sat, 20 Jan 2018 15:35:13 -0800 Subject: [PATCH] Remove optimize.load_data() that is called twice --- freqtrade/optimize/backtesting.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/freqtrade/optimize/backtesting.py b/freqtrade/optimize/backtesting.py index 935d6f6c7..25e1e6231 100644 --- a/freqtrade/optimize/backtesting.py +++ b/freqtrade/optimize/backtesting.py @@ -187,9 +187,6 @@ def start(args): data[pair] = exchange.get_ticker_history(pair, ticker_interval) else: logger.info('Using local backtesting data (using whitelist in given config) ...') - data = optimize.load_data(args.datadir, pairs=pairs, ticker_interval=ticker_interval, - refresh_pairs=args.refresh_pairs) - logger.info('Using stake_currency: %s ...', config['stake_currency']) logger.info('Using stake_amount: %s ...', config['stake_amount'])