Fix update strategy name into db
This commit is contained in:
@@ -357,7 +357,9 @@ namespace Managing.Application.ManageBot
|
|||||||
|| existingBot.Volume != Math.Round(bot.Volume, 8)
|
|| existingBot.Volume != Math.Round(bot.Volume, 8)
|
||||||
|| existingBot.Fees != Math.Round(bot.Fees, 8)
|
|| existingBot.Fees != Math.Round(bot.Fees, 8)
|
||||||
|| existingBot.LongPositionCount != bot.LongPositionCount
|
|| 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}",
|
_tradingBotLogger.LogInformation("Update bot statistics for bot {BotId}",
|
||||||
bot.Identifier);
|
bot.Identifier);
|
||||||
|
|||||||
Reference in New Issue
Block a user