Update force_sell to force_exit

This commit is contained in:
Matthias
2022-04-04 16:59:27 +02:00
parent 33841da382
commit 54ad130bb9
18 changed files with 33 additions and 33 deletions

View File

@@ -812,7 +812,7 @@ class Backtesting:
sell_row = data[pair][-1]
trade.close_date = sell_row[DATE_IDX].to_pydatetime()
trade.exit_reason = ExitType.FORCE_SELL.value
trade.exit_reason = ExitType.FORCE_EXIT.value
trade.close(sell_row[OPEN_IDX], show_msg=False)
LocalTrade.close_bt_trade(trade)
# Deepcopy object to have wallets update correctly