Fix duplicate parentheses

This commit is contained in:
Matthias 2024-02-15 20:44:16 +01:00
parent 1696aa3915
commit fd48991fb0

View File

@ -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