Remove time limit message

This commit is contained in:
2025-07-19 21:48:57 +07:00
parent a3e7a8ac4e
commit 4c07d7323f

View File

@@ -677,11 +677,11 @@ public class TradingBot : Bot, ITradingBot
else else
{ {
// Only send this message every 10 executions to avoid spam // Only send this message every 10 executions to avoid spam
if (ExecutionCount % 50 == 0) // if (ExecutionCount % 50 == 0)
{ // {
await LogInformation( // 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"); // $"⏳ **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");
} // }
} }
} }