Fix Tests
This commit is contained in:
@@ -212,9 +212,9 @@ class Binance(Exchange):
|
||||
"""
|
||||
if is_new_pair:
|
||||
x = await self._async_get_candle_history(pair, timeframe, 0, candle_type)
|
||||
if x and x[2] and x[2][0] and x[2][0][0] > since_ms:
|
||||
if x and x[3] and x[3][0] and x[3][0][0] > since_ms:
|
||||
# Set starting date to first available candle.
|
||||
since_ms = x[2][0][0]
|
||||
since_ms = x[3][0][0]
|
||||
logger.info(f"Candle-data for {pair} available starting with "
|
||||
f"{arrow.get(since_ms // 1000).isoformat()}.")
|
||||
|
||||
|
@@ -1419,7 +1419,7 @@ class Exchange:
|
||||
pair, timeframe, since_ms=since_ms, candle_type=candle_type))
|
||||
else:
|
||||
logger.debug(
|
||||
"Using cached candle (OHLCV) data for pair %s, timeframe %s ...",
|
||||
"Using cached candle (OHLCV) data for pair %s, timeframe %s, candleType %s ...",
|
||||
pair, timeframe, candle_type
|
||||
)
|
||||
cached_pairs.append((pair, timeframe, candle_type))
|
||||
|
Reference in New Issue
Block a user