chore: fix typo causing double negation
This commit is contained in:
@@ -1168,7 +1168,7 @@ class Backtesting:
|
|||||||
for trade in list(open_trades[pair]):
|
for trade in list(open_trades[pair]):
|
||||||
if (
|
if (
|
||||||
trade.has_open_orders and trade.nr_of_successful_entries == 0
|
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
|
# Ignore trade if entry-order did not fill yet
|
||||||
LocalTrade.remove_bt_trade(trade)
|
LocalTrade.remove_bt_trade(trade)
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user