Adopt plot_dataframe to work with --live

This commit is contained in:
Matthias
2018-12-30 07:20:03 +01:00
parent a9abc25785
commit f0af4601f9
4 changed files with 5 additions and 5 deletions

View File

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