Don't reset open-order-id just yet

it's needed to get the fees
This commit is contained in:
Matthias
2020-08-21 07:13:13 +02:00
parent 06125df10c
commit 838985f6a0
2 changed files with 1 additions and 2 deletions

View File

@@ -606,7 +606,6 @@ class FreqtradeBot:
stake_amount = order['cost']
amount = safe_value_fallback(order, 'filled', 'amount')
buy_limit_filled_price = safe_value_fallback(order, 'average', 'price')
order_id = None
# in case of FOK the order may be filled immediately and fully
elif order_status == 'closed':