Add test for "pair-startdate" detection

This commit is contained in:
Matthias
2021-09-07 19:51:07 +02:00
parent 8c83c258a5
commit 2d66987ac7
2 changed files with 35 additions and 2 deletions

View File

@@ -104,7 +104,7 @@ class Binance(Exchange):
if x and x[2] and x[2][0] and x[2][0][0] > since_ms:
# Set starting date to first available candle.
since_ms = x[2][0][0]
logger.info(f"Candle-data available starting with "
logger.info(f"Candle-data for {pair} available starting with "
f"{arrow.get(since_ms // 1000).isoformat()}.")
return await super()._async_get_historic_ohlcv(
pair=pair, timeframe=timeframe, since_ms=since_ms, is_new_pair=is_new_pair)