From 85b43ec1a1193c6c6a2997b1bc6272bdd660dc18 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 18 Aug 2022 15:23:58 +0200 Subject: [PATCH] Remove double-check for "isolated margin" --- freqtrade/exchange/exchange.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/exchange/exchange.py b/freqtrade/exchange/exchange.py index e415e2b6c..c15481ca5 100644 --- a/freqtrade/exchange/exchange.py +++ b/freqtrade/exchange/exchange.py @@ -2600,7 +2600,7 @@ class Exchange: """ if self.trading_mode == TradingMode.SPOT: return None - elif (self.trading_mode != TradingMode.FUTURES and self.margin_mode != MarginMode.ISOLATED): + elif (self.trading_mode != TradingMode.FUTURES): raise OperationalException( f"{self.name} does not support {self.margin_mode.value} {self.trading_mode.value}")