From 3d31eca3653c7944eefa04d9284e578d1753498b Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 13 Mar 2023 19:40:48 +0100 Subject: [PATCH] Update Exception to contain more info part of #8300 --- freqtrade/exchange/exchange.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/freqtrade/exchange/exchange.py b/freqtrade/exchange/exchange.py index c0e07c6d7..24fc8daa1 100644 --- a/freqtrade/exchange/exchange.py +++ b/freqtrade/exchange/exchange.py @@ -1138,7 +1138,10 @@ class Exchange: # Ensure rate is less than stop price if bad_stop_price: raise OperationalException( - 'In stoploss limit order, stop price should be more than limit price') + "In stoploss limit order, stop price should be more than limit price. " + f"Stop price: {stop_price}, Limit price: {limit_rate}, " + f"Limit Price pct: {limit_price_pct}" + ) return limit_rate def _get_stop_params(self, side: BuySell, ordertype: str, stop_price: float) -> Dict: