chore: fix typo causing double negation

This commit is contained in:
Matthias
2024-12-23 12:51:41 +01:00
parent c9aa202be8
commit cefacf4a6d

View File

@@ -1168,7 +1168,7 @@ class Backtesting:
for trade in list(open_trades[pair]):
if (
trade.has_open_orders and trade.nr_of_successful_entries == 0
) or not not trade.has_open_position:
) or not trade.has_open_position:
# Ignore trade if entry-order did not fill yet
LocalTrade.remove_bt_trade(trade)
continue