Skip to content

Commit 70fa12f

Browse files
committed
chore: log a warning that the user is in territory that might not work.
1 parent 8d86cc1 commit 70fa12f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

freqtrade/exchange/exchange.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -837,6 +837,11 @@ def validate_freqai(self, config: Config) -> None:
837837
raise ConfigurationError(
838838
f"Historic OHLCV data not available for {self.name}. Can't use freqAI."
839839
)
840+
elif override and freqai_enabled and not self._ft_has["ohlcv_has_history"]:
841+
logger.warning(
842+
"Overriding exchange checks for freqAI. Make sure that your exchange supports "
843+
"fetching historic OHLCV data, otherwise freqAI will not work."
844+
)
840845

841846
def validate_required_startup_candles(self, startup_candles: int, timeframe: str) -> int:
842847
"""

0 commit comments

Comments
 (0)