Removed some outdated TODOs and whitespace

This commit is contained in:
Sam Germain 2021-08-20 18:50:02 -06:00
parent 97bb555d41
commit 84bc4dd740

View File

@ -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)