Reset sell_order_status if a new sell-order is placed

closes #4365
This commit is contained in:
Matthias 2021-02-14 07:11:07 +01:00
parent 4b5f4aa1c1
commit 73d91275c4

View File

@ -1183,6 +1183,7 @@ class FreqtradeBot(LoggingMixin):
trade.orders.append(order_obj)
trade.open_order_id = order['id']
trade.sell_order_status = ''
trade.close_rate_requested = limit
trade.sell_reason = sell_reason.value
# In case of market sell orders the order can be closed immediately