Fix bot update with the tradingtype

This commit is contained in:
2025-12-13 14:46:30 +07:00
parent e6cac0057b
commit c4e444347c
8 changed files with 12 additions and 3 deletions

View File

@@ -65,6 +65,7 @@ public class PostgreSqlBotRepository : IBotRepository
// Update the existing entity properties directly instead of creating a new one
existingEntity.Name = bot.Name;
existingEntity.Ticker = bot.Ticker;
existingEntity.TradingType = bot.TradingType;
existingEntity.Status = bot.Status;
existingEntity.StartupTime = bot.StartupTime;
existingEntity.TradeWins = bot.TradeWins;