From e0aa660b56774936fe6e81423704f39b729d56e0 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 28 Aug 2025 06:45:57 +0200 Subject: [PATCH] chore: improve docstring wording --- freqtrade/data/history/history_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/data/history/history_utils.py b/freqtrade/data/history/history_utils.py index 011f6cb4e..54f17dece 100644 --- a/freqtrade/data/history/history_utils.py +++ b/freqtrade/data/history/history_utils.py @@ -465,7 +465,7 @@ def _download_all_pairs_history_parallel( timerange: TimeRange | None = None, ) -> dict[PairWithTimeframe, DataFrame]: """ - Allows us to use the faster parallel async download method for many coins + Allows to use the faster parallel async download method for many coins but only if the data is short enough to be retrieved in one call. Used by freqtrade download-data subcommand. :return: Candle pairs with timeframes @@ -478,7 +478,7 @@ def _download_all_pairs_history_parallel( candle_limit = exchange.ohlcv_candle_limit(timeframe, CandleType.get_default(trading_mode)) one_call_min_time_dt = dt_ts(date_minus_candles(timeframe, candle_limit)) - # check if we can get them all in one go, if so then we can download them in parallel + # check if we can get all candles in one go, if so then we can download them in parallel if since > one_call_min_time_dt: logger.info( f"Downloading parallel candles for {timeframe} for all pairs "