From e5d4f7766e507dab3e0a5171d30cb965c1961452 Mon Sep 17 00:00:00 2001 From: eSeR1805 Date: Sat, 16 Apr 2022 14:44:41 +0300 Subject: [PATCH] Add new cancel reason for when replacing orders. --- freqtrade/constants.py | 1 + 1 file changed, 1 insertion(+) diff --git a/freqtrade/constants.py b/freqtrade/constants.py index c6a2ab5d3..cd04a71f1 100644 --- a/freqtrade/constants.py +++ b/freqtrade/constants.py @@ -478,6 +478,7 @@ CANCEL_REASON = { "ALL_CANCELLED": "cancelled (all unfilled and partially filled open orders cancelled)", "CANCELLED_ON_EXCHANGE": "cancelled on exchange", "FORCE_EXIT": "forcesold", + "REPLACE": "cancelled to be replaced by new limit order", } # List of pairs with their timeframes