Fix update strategy name into db

This commit is contained in:
2025-10-05 21:31:42 +07:00
parent f67ee330b3
commit 1b060fb145

View File

@@ -357,7 +357,9 @@ namespace Managing.Application.ManageBot
|| existingBot.Volume != Math.Round(bot.Volume, 8)
|| existingBot.Fees != Math.Round(bot.Fees, 8)
|| existingBot.LongPositionCount != bot.LongPositionCount
|| existingBot.ShortPositionCount != bot.ShortPositionCount)
|| existingBot.ShortPositionCount != bot.ShortPositionCount
|| !string.Equals(existingBot.Name, bot.Name, StringComparison.Ordinal)
|| existingBot.Ticker != bot.Ticker)
{
_tradingBotLogger.LogInformation("Update bot statistics for bot {BotId}",
bot.Identifier);