diff --git a/freqtrade/data/history/history_utils.py b/freqtrade/data/history/history_utils.py index 8f4a8d6c5..1467497d6 100644 --- a/freqtrade/data/history/history_utils.py +++ b/freqtrade/data/history/history_utils.py @@ -308,11 +308,15 @@ def _download_pair_history( candle_type=candle_type, until_ms=until_ms if until_ms else None, ) - logger.info(f"Downloaded data for {pair} with length {len(new_dataframe)}.") + logger.info( + f"Downloaded data for {pair}, {timeframe}, {candle_type} with length " + f"{len(new_dataframe)}." + ) else: new_dataframe = pair_candles logger.info( - f"Downloaded data for {pair} with length {len(new_dataframe)}. Parallel Method." + f"Downloaded data for {pair}, {timeframe}, {candle_type} with length " + f"{len(new_dataframe)}. Parallel Method." ) if data.empty: diff --git a/tests/data/test_history.py b/tests/data/test_history.py index 2dc3204db..115e73192 100644 --- a/tests/data/test_history.py +++ b/tests/data/test_history.py @@ -896,7 +896,7 @@ def test_download_pair_history_with_pair_candles(mocker, default_conf, tmp_path, assert get_historic_ohlcv_mock.call_count == 0 # Verify the log message indicating parallel method was used (line 315-316) - assert log_has("Downloaded data for TEST/BTC with length 3. Parallel Method.", caplog) + assert log_has("Downloaded data for TEST/BTC, 5m, spot with length 3. Parallel Method.", caplog) # Verify data was stored assert data_handler_mock.ohlcv_store.call_count == 1