chore: improve log wording

This commit is contained in:
Matthias
2025-09-07 12:02:34 +02:00
parent 19140e9cfa
commit a9db7d0286

View File

@@ -2600,10 +2600,15 @@ class Exchange:
CandleType.FUTURES, CandleType.FUTURES,
) )
if invalid_timeframe or invalid_funding: if invalid_timeframe or invalid_funding:
timeframes_ = (
", ".join(self.timeframes)
if candle_type != CandleType.FUNDING_RATE
else self.get_option("funding_fee_timeframe")
)
logger.warning( logger.warning(
f"Cannot download ({pair}, {timeframe}, {candle_type}) combination as this " f"Cannot download ({pair}, {timeframe}, {candle_type}) combination as this "
f"timeframe is not available on {self.name}. Available timeframes are " f"timeframe is not available on {self.name}. Available timeframes are "
f"{', '.join(self.timeframes)}." f"{timeframes_}."
) )
continue continue