From f6924aca40cd0ed59d66e4a263dd24709cb7ba82 Mon Sep 17 00:00:00 2001 From: Sam Germain Date: Sun, 31 Oct 2021 01:24:02 -0600 Subject: [PATCH] removed get_funding_rate_history from gateio --- freqtrade/exchange/gateio.py | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/freqtrade/exchange/gateio.py b/freqtrade/exchange/gateio.py index 741df98d7..83abd1266 100644 --- a/freqtrade/exchange/gateio.py +++ b/freqtrade/exchange/gateio.py @@ -1,6 +1,6 @@ """ Gate.io exchange subclass """ import logging -from typing import Dict, List, Optional, Tuple +from typing import Dict, List, Tuple from freqtrade.enums import Collateral, TradingMode from freqtrade.exceptions import OperationalException @@ -59,16 +59,3 @@ class Gateio(Exchange): if any(v == 'market' for k, v in order_types.items()): raise OperationalException( f'Exchange {self.name} does not support market orders.') - - def get_funding_rate_history( - self, - pair: str, - start: int, - end: Optional[int] = None - ) -> Dict: - ''' - :param start: timestamp in ms of the beginning time - :param end: timestamp in ms of the end time - ''' - # TODO-lev: Has a max limit into the past of 333 days - return super().get_funding_rate_history(pair, start, end)