have plot-script use async ticker-refresh

This commit is contained in:
Matthias
2018-08-19 19:48:13 +02:00
parent ff8ed564f1
commit 9403248e4d
2 changed files with 3 additions and 2 deletions

View File

@@ -138,7 +138,8 @@ def plot_analyzed_dataframe(args: Namespace) -> None:
tickers = {}
if args.live:
logger.info('Downloading pair.')
tickers[pair] = exchange.get_candle_history(pair, tick_interval)
exchange.refresh_tickers([pair], tick_interval)
tickers[pair] = exchange.klines[pair]
else:
tickers = optimize.load_data(
datadir=_CONF.get("datadir"),