Remove optimize.load_data() that is called twice
This commit is contained in:
parent
3b6b2aa5fe
commit
ad2a5f1717
@ -187,9 +187,6 @@ def start(args):
|
|||||||
data[pair] = exchange.get_ticker_history(pair, ticker_interval)
|
data[pair] = exchange.get_ticker_history(pair, ticker_interval)
|
||||||
else:
|
else:
|
||||||
logger.info('Using local backtesting data (using whitelist in given config) ...')
|
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_currency: %s ...', config['stake_currency'])
|
||||||
logger.info('Using stake_amount: %s ...', config['stake_amount'])
|
logger.info('Using stake_amount: %s ...', config['stake_amount'])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user