Removed some outdated TODOs and whitespace

This commit is contained in:
Sam Germain 2021-08-20 18:50:02 -06:00
parent 134a7ec59b
commit c256dc3745

View File

@ -556,7 +556,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:
@ -1584,8 +1583,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)