From f21ef11db02715191d986342ef043f26b153e02b Mon Sep 17 00:00:00 2001 From: Kuy Krawczeniuk Date: Fri, 26 Mar 2021 14:15:16 -0700 Subject: [PATCH] Remove unnecessary warnings. --- freqtrade/data/history/history_utils.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/freqtrade/data/history/history_utils.py b/freqtrade/data/history/history_utils.py index 9ea86d4ea..a5bbf708a 100644 --- a/freqtrade/data/history/history_utils.py +++ b/freqtrade/data/history/history_utils.py @@ -196,9 +196,6 @@ def _download_pair_history(datadir: Path, exchange: Exchange, pair: str, *, if since < cached_start: since_ms = since.timestamp() * 1000 elif cached_start <= since < cached_end: - logger.warning("The timerange overlaps with cached data." - " This may lead to unexpected outcomes " - "including overwriting existing data!") since_ms = since.timestamp() * 1000 else: since_ms = cached_end.timestamp() * 1000 @@ -208,9 +205,6 @@ def _download_pair_history(datadir: Path, exchange: Exchange, pair: str, *, if until < cached_start: until_ms = cached_start.timestamp() * 1000 elif cached_start < until <= cached_end: - logger.warning("The timerange overlaps with cached data." - " This may lead to unexpected outcomes " - "including overwriting existing data!") until_ms = until.timestamp() * 1000 else: until_ms = until.timestamp()