Fix frequent notification bug due to stop order

This commit is contained in:
Matthias
2023-06-24 08:10:31 +02:00
parent 5c0d89feb5
commit be062c5fbe

View File

@@ -469,7 +469,7 @@ class LocalTrade():
@property
def open_orders(self) -> List[Order]:
return [order for order in self.orders if order.ft_is_open]
return [o for o in self.orders if o.ft_is_open and o.ft_order_side != 'stoploss']
@property
def has_open_orders(self) -> int: