We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30afedd commit bfa9c81Copy full SHA for bfa9c81
freqtrade/exchange/exchange.py
@@ -877,8 +877,8 @@ def validate_trading_mode_and_margin_mode(
877
(trading_mode, margin_mode) not in self._supported_trading_mode_margin_pairs
878
):
879
mm_value = margin_mode and margin_mode.value
880
- raise OperationalException(
881
- f"Freqtrade does not support {mm_value} {trading_mode} on {self.name}"
+ raise ConfigurationError(
+ f"Freqtrade does not support '{mm_value}' '{trading_mode}' on {self.name}."
882
)
883
884
def get_option(self, param: str, default: Any | None = None) -> Any:
0 commit comments