From 956352f041aaf402a0933c97ba50fcee398b06ab Mon Sep 17 00:00:00 2001 From: Sam Germain Date: Thu, 28 Oct 2021 07:19:46 -0600 Subject: [PATCH] Removed name_for_futures_market --- freqtrade/exchange/binance.py | 1 - freqtrade/exchange/bybit.py | 1 - freqtrade/exchange/exchange.py | 1 - 3 files changed, 3 deletions(-) diff --git a/freqtrade/exchange/binance.py b/freqtrade/exchange/binance.py index 3aee67039..d23f84e7b 100644 --- a/freqtrade/exchange/binance.py +++ b/freqtrade/exchange/binance.py @@ -37,7 +37,6 @@ class Binance(Exchange): # (TradingMode.FUTURES, Collateral.CROSS), # TODO-lev: Uncomment once supported # (TradingMode.FUTURES, Collateral.ISOLATED) # TODO-lev: Uncomment once supported ] - name_for_futures_market = 'future' @property def _ccxt_config(self) -> Dict: diff --git a/freqtrade/exchange/bybit.py b/freqtrade/exchange/bybit.py index 8cd37fbbc..df19a671b 100644 --- a/freqtrade/exchange/bybit.py +++ b/freqtrade/exchange/bybit.py @@ -30,4 +30,3 @@ class Bybit(Exchange): # (TradingMode.FUTURES, Collateral.CROSS), # TODO-lev: Uncomment once supported # (TradingMode.FUTURES, Collateral.ISOLATED) # TODO-lev: Uncomment once supported ] - name_for_futures_market = 'linear' diff --git a/freqtrade/exchange/exchange.py b/freqtrade/exchange/exchange.py index e29ef9df0..ac5abff01 100644 --- a/freqtrade/exchange/exchange.py +++ b/freqtrade/exchange/exchange.py @@ -79,7 +79,6 @@ class Exchange: _supported_trading_mode_collateral_pairs: List[Tuple[TradingMode, Collateral]] = [ # 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: """