mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-09-20 09:31:12 +00:00
Simplify trade_statistics function
This commit is contained in:
parent
fa79c48c8f
commit
c3516dbba6
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user