Removed name_for_futures_market

This commit is contained in:
Sam Germain 2021-10-28 07:19:46 -06:00
parent a2b1838c60
commit 956352f041
3 changed files with 0 additions and 3 deletions

View File

@ -37,7 +37,6 @@ class Binance(Exchange):
# (TradingMode.FUTURES, Collateral.CROSS), # TODO-lev: Uncomment once supported # (TradingMode.FUTURES, Collateral.CROSS), # TODO-lev: Uncomment once supported
# (TradingMode.FUTURES, Collateral.ISOLATED) # TODO-lev: Uncomment once supported # (TradingMode.FUTURES, Collateral.ISOLATED) # TODO-lev: Uncomment once supported
] ]
name_for_futures_market = 'future'
@property @property
def _ccxt_config(self) -> Dict: def _ccxt_config(self) -> Dict:

View File

@ -30,4 +30,3 @@ class Bybit(Exchange):
# (TradingMode.FUTURES, Collateral.CROSS), # TODO-lev: Uncomment once supported # (TradingMode.FUTURES, Collateral.CROSS), # TODO-lev: Uncomment once supported
# (TradingMode.FUTURES, Collateral.ISOLATED) # TODO-lev: Uncomment once supported # (TradingMode.FUTURES, Collateral.ISOLATED) # TODO-lev: Uncomment once supported
] ]
name_for_futures_market = 'linear'

View File

@ -79,7 +79,6 @@ class Exchange:
_supported_trading_mode_collateral_pairs: List[Tuple[TradingMode, Collateral]] = [ _supported_trading_mode_collateral_pairs: List[Tuple[TradingMode, Collateral]] = [
# TradingMode.SPOT always supported and not required in this list # TradingMode.SPOT always supported and not required in this list
] ]
name_for_futures_market = 'swap'
def __init__(self, config: Dict[str, Any], validate: bool = True) -> None: def __init__(self, config: Dict[str, Any], validate: bool = True) -> None:
""" """