From 7c148a01238c0866aa465f4dddd13a6bd6105c0f Mon Sep 17 00:00:00 2001 From: Joe Schr <8218910+TheJoeSchr@users.noreply.github.com> Date: Sat, 4 Jan 2025 23:48:55 +0100 Subject: [PATCH] fix: remove superfluous territory return statement --- freqtrade/data/converter/orderflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/data/converter/orderflow.py b/freqtrade/data/converter/orderflow.py index 2d0ada211..4b4923cfb 100644 --- a/freqtrade/data/converter/orderflow.py +++ b/freqtrade/data/converter/orderflow.py @@ -276,4 +276,4 @@ def stacked_imbalance(df: pd.DataFrame, label: str, stacked_imbalance_range: int stacked_imbalance_prices = [ imbalance.index.values[idx - (stacked_imbalance_range - 1)] for idx in valid_indices ] - return stacked_imbalance_prices if stacked_imbalance_prices else [] + return stacked_imbalance_prices