diff --git a/freqtrade/exchange/exchange.py b/freqtrade/exchange/exchange.py index 44c593541..5f2530431 100644 --- a/freqtrade/exchange/exchange.py +++ b/freqtrade/exchange/exchange.py @@ -80,7 +80,6 @@ class Exchange: "mark_ohlcv_price": "mark", "mark_ohlcv_timeframe": "8h", "ccxt_futures_name": "swap", - "fee_cost_in_contracts": False, # Fee cost needs contract conversion "needs_trading_fees": False, # use fetch_trading_fees to cache fees "order_props_in_contracts": ['amount', 'filled', 'remaining'], # Override createMarketBuyOrderRequiresPrice where ccxt has it wrong @@ -1859,9 +1858,6 @@ class Exchange: if fee_curr is None: return None fee_cost = float(fee['cost']) - if self._ft_has['fee_cost_in_contracts']: - # Convert cost via "contracts" conversion - fee_cost = self._contracts_to_amount(symbol, fee['cost']) # Calculate fee based on order details if fee_curr == self.get_pair_base_currency(symbol): diff --git a/freqtrade/exchange/gate.py b/freqtrade/exchange/gate.py index 8ea7f2b20..d36f57da7 100644 --- a/freqtrade/exchange/gate.py +++ b/freqtrade/exchange/gate.py @@ -33,7 +33,6 @@ class Gate(Exchange): _ft_has_futures: Dict = { "needs_trading_fees": True, "marketOrderRequiresPrice": False, - "fee_cost_in_contracts": False, # Set explicitly to false for clarity "stop_price_type_field": "price_type", "stop_price_type_value_mapping": { PriceType.LAST: 0,