diff --git a/freqtrade/persistence/trade_model.py b/freqtrade/persistence/trade_model.py index 121a0bd8a..b1330b83c 100644 --- a/freqtrade/persistence/trade_model.py +++ b/freqtrade/persistence/trade_model.py @@ -466,7 +466,7 @@ class LocalTrade: orders = self.select_filled_orders(self.entry_side) if ( orders - and len((filled_date := [o.order_filled_utc for o in orders if o.order_filled_utc])) + and len(filled_date := [o.order_filled_utc for o in orders if o.order_filled_utc]) ): return min(filled_date) return None