Add scoreMessage

This commit is contained in:
2025-07-17 21:07:10 +07:00
parent d40ee7a86e
commit 7de18673f9
9 changed files with 54 additions and 24 deletions

View File

@@ -258,6 +258,7 @@ public class MessengerService : IMessengerService
$"{(config.MaxPositionTimeHours.HasValue && config.MaxPositionTimeHours.Value > 0 ? $" Max Position Time (hrs): {config.MaxPositionTimeHours.Value} | " : "")}🏁 Close Early When Profitable: {(config.CloseEarlyWhenProfitable ? "Yes" : "No")}\n" +
$"\n📈 Performance Metrics:\n" +
$"⭐ Score: {score:F1}/100\n" +
$"🔍 Score Analysis: {backtest.ScoreMessage}\n" +
$"🏆 Win Rate: {winRate:F1}%\n" +
$"📊 Total Trades: {tradeCount}\n" +
$"💰 Final PnL: ${finalPnl:F2}\n" +