Improve if formatting
This commit is contained in:
@@ -1341,9 +1341,11 @@ class FreqtradeBot(LoggingMixin):
|
|||||||
not_closed = order['status'] == 'open' or fully_cancelled
|
not_closed = order['status'] == 'open' or fully_cancelled
|
||||||
|
|
||||||
if not_closed:
|
if not_closed:
|
||||||
if fully_cancelled or (
|
if (
|
||||||
open_order and self.strategy.ft_check_timed_out(
|
fully_cancelled or (
|
||||||
trade, open_order, datetime.now(timezone.utc)
|
open_order and self.strategy.ft_check_timed_out(
|
||||||
|
trade, open_order, datetime.now(timezone.utc)
|
||||||
|
)
|
||||||
)
|
)
|
||||||
):
|
):
|
||||||
self.handle_cancel_order(
|
self.handle_cancel_order(
|
||||||
|
|||||||
Reference in New Issue
Block a user