mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-17 13:21:15 +00:00
fix: align profit calculations between best pair and /performance
part of #11236
This commit is contained in:
@@ -665,6 +665,7 @@ class RPC:
|
||||
"best_pair": best_pair[0] if best_pair else "",
|
||||
"best_rate": round(best_pair[1] * 100, 2) if best_pair else 0, # Deprecated
|
||||
"best_pair_profit_ratio": best_pair[1] if best_pair else 0,
|
||||
"best_pair_profit_abs": best_pair[2] if best_pair else 0,
|
||||
"winning_trades": winning_trades,
|
||||
"losing_trades": losing_trades,
|
||||
"profit_factor": profit_factor,
|
||||
|
||||
Reference in New Issue
Block a user