From e8714d52cd0ba932badabb21579c75e765e2fc53 Mon Sep 17 00:00:00 2001 From: Joe Schr <8218910+TheJoeSchr@users.noreply.github.com> Date: Mon, 12 Feb 2024 09:31:37 +0100 Subject: [PATCH] Removes nonsensical if gate --- freqtrade/exchange/exchange.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/freqtrade/exchange/exchange.py b/freqtrade/exchange/exchange.py index 357150fe5..90b34c984 100644 --- a/freqtrade/exchange/exchange.py +++ b/freqtrade/exchange/exchange.py @@ -2471,8 +2471,6 @@ class Exchange: # Skip last trade by default since its the key for the next call x = slice(None, -1) if has_overlap else slice(None) - if not until and not stop_on_from_id: - raise OperationalException("stop_on_from_id must be set if until is not set") if not from_id or not self._valid_trade_pagination_id(pair, from_id): # Fetch first elements using timebased method to get an ID to paginate on # Depending on the Exchange, this can introduce a drift at the start of the interval