diff --git a/src/Managing.Application/Bots/TradingBot.cs b/src/Managing.Application/Bots/TradingBot.cs index a55a01e..6401b60 100644 --- a/src/Managing.Application/Bots/TradingBot.cs +++ b/src/Managing.Application/Bots/TradingBot.cs @@ -676,8 +676,12 @@ public class TradingBot : Bot, ITradingBot } else { - await LogInformation( - $"ā³ **Time Limit - Waiting**\nTime limit exceeded but position at loss\nšŸ“‰ Entry: `${positionForSignal.Open.Price}` → Current: `${lastCandle.Close}`\nšŸ’° Realized PNL: `${currentPnl:F2}` (`{pnlPercentage:F2}%`\nšŸŽÆ Waiting for profit before closing (CloseEarlyWhenProfitable enabled)"); + // Only send this message every 10 executions to avoid spam + if (ExecutionCount % 10 == 0) + { + await LogInformation( + $"ā³ **Time Limit - Waiting**\nTime limit exceeded but position at loss\nšŸ“‰ Entry: `${positionForSignal.Open.Price}` → Current: `${lastCandle.Close}`\nšŸ’° Realized PNL: `${currentPnl:F2}` (`{pnlPercentage:F2}%`)\nšŸŽÆ Waiting for profit before closing (CloseEarlyWhenProfitable enabled)\nšŸ“Š Message sent every 10 executions to reduce spam"); + } } }