Remove duplicate call in backtesting

This commit is contained in:
Matthias
2023-08-13 16:14:40 +02:00
parent 018d3a3f6e
commit d7556cd66a

View File

@@ -1137,7 +1137,6 @@ class Backtesting:
trade.open_order_id = None
sub_trade = order.safe_amount_after_fee != trade.amount
if sub_trade:
order.close_bt_order(current_time, trade)
trade.recalc_trade_from_orders()
else:
trade.close_date = current_time