mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-14 11:51:19 +00:00
chore: log a warning that the user is in territory that might not work.
This commit is contained in:
@@ -837,6 +837,11 @@ class Exchange:
|
|||||||
raise ConfigurationError(
|
raise ConfigurationError(
|
||||||
f"Historic OHLCV data not available for {self.name}. Can't use freqAI."
|
f"Historic OHLCV data not available for {self.name}. Can't use freqAI."
|
||||||
)
|
)
|
||||||
|
elif override and freqai_enabled and not self._ft_has["ohlcv_has_history"]:
|
||||||
|
logger.warning(
|
||||||
|
"Overriding exchange checks for freqAI. Make sure that your exchange supports "
|
||||||
|
"fetching historic OHLCV data, otherwise freqAI will not work."
|
||||||
|
)
|
||||||
|
|
||||||
def validate_required_startup_candles(self, startup_candles: int, timeframe: str) -> int:
|
def validate_required_startup_candles(self, startup_candles: int, timeframe: str) -> int:
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user