From 4c07d7323f6e3dfac60bcca0f02238c9eaf01e6d Mon Sep 17 00:00:00 2001 From: cryptooda Date: Sat, 19 Jul 2025 21:48:57 +0700 Subject: [PATCH] Remove time limit message --- src/Managing.Application/Bots/TradingBot.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Managing.Application/Bots/TradingBot.cs b/src/Managing.Application/Bots/TradingBot.cs index a65f2b0..46b2a73 100644 --- a/src/Managing.Application/Bots/TradingBot.cs +++ b/src/Managing.Application/Bots/TradingBot.cs @@ -677,11 +677,11 @@ public class TradingBot : Bot, ITradingBot else { // Only send this message every 10 executions to avoid spam - 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"); - } + // 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"); + // } } }