From 59c1fd55096310ab7a035229986a7d0d10125515 Mon Sep 17 00:00:00 2001 From: cryptooda Date: Thu, 17 Jul 2025 23:00:15 +0700 Subject: [PATCH] Update time between message for time limit --- src/Managing.Application/Bots/TradingBot.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Managing.Application/Bots/TradingBot.cs b/src/Managing.Application/Bots/TradingBot.cs index 45d2bdf..a65f2b0 100644 --- a/src/Managing.Application/Bots/TradingBot.cs +++ b/src/Managing.Application/Bots/TradingBot.cs @@ -677,7 +677,7 @@ public class TradingBot : Bot, ITradingBot else { // Only send this message every 10 executions to avoid spam - if (ExecutionCount % 10 == 0) + if (ExecutionCount % 50 == 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");