Rename refresh_tickers to refresh_latest_ohlcv

This commit is contained in:
Matthias
2018-12-29 13:13:07 +01:00
parent 06ec106079
commit a206777fe5
8 changed files with 14 additions and 13 deletions

View File

@@ -530,9 +530,10 @@ class Exchange(object):
logger.info("downloaded %s with length %s.", pair, len(data))
return data
def refresh_tickers(self, pair_list: List[str], ticker_interval: str) -> List[Tuple[str, List]]:
def refresh_latest_ohlcv(self, pair_list: List[str],
ticker_interval: str) -> List[Tuple[str, List]]:
"""
Refresh ohlcv asyncronously and set `_klines` with the result
Refresh in-memory ohlcv asyncronously and set `_klines` with the result
"""
logger.debug("Refreshing klines for %d pairs", len(pair_list))