Merge pull request #6458 from stash86/pos_adjust

Hide sell_reason if a trade is still open
This commit is contained in:
Matthias
2022-03-02 07:23:49 +01:00
committed by GitHub
2 changed files with 7 additions and 1 deletions

View File

@@ -1108,6 +1108,7 @@ class FreqtradeBot(LoggingMixin):
trade.close_date = None
trade.is_open = True
trade.open_order_id = None
trade.sell_reason = None
cancelled = True
else:
# TODO: figure out how to handle partially complete sell orders