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

@@ -110,7 +110,7 @@ def mocked_load_data(datadir, pairs=[], ticker_interval='0m', refresh_pairs=Fals
return pairdata
# use for mock freqtrade.exchange.get_candle_history'
# use for mock ccxt.fetch_ohlvc'
def _load_pair_as_ticks(pair, tickfreq):
ticks = optimize.load_data(None, ticker_interval=tickfreq, pairs=[pair])
ticks = trim_dictlist(ticks, -201)