diff --git a/freqtrade/freqtradebot.py b/freqtrade/freqtradebot.py index 4327c80a5..6212ad855 100644 --- a/freqtrade/freqtradebot.py +++ b/freqtrade/freqtradebot.py @@ -1695,7 +1695,7 @@ class FreqtradeBot(LoggingMixin): ) if not res: self.replace_order_failed( - trade, f"Could not cancel order for {trade}, therefore not replacing." + trade, f"Could not fully cancel order for {trade}, therefore not replacing." ) return if adjusted_entry_price: diff --git a/tests/freqtradebot/test_freqtradebot.py b/tests/freqtradebot/test_freqtradebot.py index 7a30713bc..5cfc5d701 100644 --- a/tests/freqtradebot/test_freqtradebot.py +++ b/tests/freqtradebot/test_freqtradebot.py @@ -2053,7 +2053,7 @@ def test_adjust_entry_replace_fail( assert len(trades) == 0 assert len(Order.session.scalars(select(Order)).all()) == 0 assert fetch_order_mock.call_count == 4 - assert log_has_re(r"Could not cancel order.*, therefore not replacing\.", caplog) + assert log_has_re(r"Could not fully cancel order.*, therefore not replacing\.", caplog) # Entry adjustment is called assert freqtrade.strategy.adjust_entry_price.call_count == 1