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()}.")
|
||||
|
||||
|
Reference in New Issue
Block a user