Reset stoploss_order_id when order is canceled

closes #7766
This commit is contained in:
Matthias
2022-11-25 16:08:33 +01:00
parent 1b3e62bcbc
commit 0f97ef0d7b
2 changed files with 4 additions and 2 deletions

View File

@@ -1498,6 +1498,7 @@ def test_handle_stoploss_on_exchange_trailing(
})
)
assert freqtrade.handle_trade(trade) is True
assert trade.stoploss_order_id is None
@pytest.mark.parametrize("is_short", [False, True])