Remove calls to load_data using live=

This commit is contained in:
Matthias
2019-08-18 07:09:02 +02:00
parent e9e2a83436
commit 9e24992835
3 changed files with 1 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ def init_plotscript(config):
exchange: Optional[Exchange] = None
# Exchange is only needed when downloading data!
if config.get("live", False) or config.get("refresh_pairs", False):
if config.get("refresh_pairs", False):
exchange = ExchangeResolver(config.get('exchange', {}).get('name'),
config).exchange
@@ -51,7 +51,6 @@ def init_plotscript(config):
refresh_pairs=config.get('refresh_pairs', False),
timerange=timerange,
exchange=exchange,
live=config.get("live", False),
)
trades = load_trades(config)