Simplify trade_statistics function

This commit is contained in:
Matthias 2024-05-05 16:56:00 +02:00
parent fa79c48c8f
commit c3516dbba6

View File

@ -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: