From a4892654da036cd1bf194b70c08704809837c7e2 Mon Sep 17 00:00:00 2001 From: Sam Germain Date: Fri, 29 Oct 2021 19:37:02 -0600 Subject: [PATCH] Removed params from _get_mark_price_history --- freqtrade/exchange/exchange.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/freqtrade/exchange/exchange.py b/freqtrade/exchange/exchange.py index 373d10269..3069aea61 100644 --- a/freqtrade/exchange/exchange.py +++ b/freqtrade/exchange/exchange.py @@ -1738,24 +1738,16 @@ class Exchange: def _get_mark_price_history( self, pair: str, - start: int, - end: Optional[int] + start: int ) -> Dict: """ Get's the mark price history for a pair """ - if end: - params = { - 'until': end - } - else: - params = {} candles = self._api.fetch_mark_ohlcv( pair, timeframe="1h", - since=start, - params=params + since=start ) history = {} for candle in candles: