added isolated futures to supported modes for binance,gateio

This commit is contained in:
Sam Germain
2022-01-10 06:45:54 -06:00
parent e0df7ee72a
commit ba5fc21d84
4 changed files with 5 additions and 7 deletions

View File

@@ -33,10 +33,9 @@ class Binance(Exchange):
_supported_trading_mode_collateral_pairs: List[Tuple[TradingMode, Collateral]] = [
# TradingMode.SPOT always supported and not required in this list
# TODO-lev: Uncomment once supported
# (TradingMode.MARGIN, Collateral.CROSS),
# (TradingMode.FUTURES, Collateral.CROSS),
# (TradingMode.FUTURES, Collateral.ISOLATED)
(TradingMode.FUTURES, Collateral.ISOLATED)
]
def stoploss_adjust(self, stop_loss: float, order: Dict, side: str) -> bool: