From 84bc4dd740317610d4e6c3d1345035345cafc94a Mon Sep 17 00:00:00 2001 From: Sam Germain Date: Fri, 20 Aug 2021 18:50:02 -0600 Subject: [PATCH] Removed some outdated TODOs and whitespace --- freqtrade/exchange/exchange.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/freqtrade/exchange/exchange.py b/freqtrade/exchange/exchange.py index fa3ec3c9b..54db415c3 100644 --- a/freqtrade/exchange/exchange.py +++ b/freqtrade/exchange/exchange.py @@ -540,7 +540,6 @@ class Exchange: def get_min_pair_stake_amount(self, pair: str, price: float, stoploss: float, leverage: Optional[float] = 1.0) -> Optional[float]: - # TODO-lev: Using leverage makes the min stake amount lower (on binance at least) try: market = self.markets[pair] except KeyError: @@ -1551,8 +1550,6 @@ class Exchange: raise OperationalException( f"{self.name.capitalize()}.set_leverage has not been implemented.") - self._api.set_leverage(symbol=pair, leverage=leverage) - def is_exchange_known_ccxt(exchange_name: str, ccxt_module: CcxtModuleType = None) -> bool: return exchange_name in ccxt_exchanges(ccxt_module)