From c3516dbba68a87d02470db3ad193a9618843951f Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 5 May 2024 16:56:00 +0200 Subject: [PATCH] Simplify trade_statistics function --- freqtrade/rpc/rpc.py | 1 - 1 file changed, 1 deletion(-) diff --git a/freqtrade/rpc/rpc.py b/freqtrade/rpc/rpc.py index 68ccbd211..da37d9e96 100644 --- a/freqtrade/rpc/rpc.py +++ b/freqtrade/rpc/rpc.py @@ -507,7 +507,6 @@ class RPC: trade.pair, side='exit', is_short=trade.is_short, refresh=False) except (PricingError, ExchangeError): current_rate = NAN - if isnan(current_rate): profit_ratio = NAN profit_abs = NAN else: