From 454324687159107d29d5621685b965eb1b41bcac Mon Sep 17 00:00:00 2001 From: cryptooda Date: Sun, 12 Oct 2025 10:27:47 +0700 Subject: [PATCH] Remove ocndition for account name --- src/Managing.Application/Bots/TradingBotBase.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Managing.Application/Bots/TradingBotBase.cs b/src/Managing.Application/Bots/TradingBotBase.cs index 6ee0b302..3ac6fa91 100644 --- a/src/Managing.Application/Bots/TradingBotBase.cs +++ b/src/Managing.Application/Bots/TradingBotBase.cs @@ -2088,10 +2088,10 @@ public class TradingBotBase : ITradingBot $"Bot trading balance must be greater than {Constants.GMX.Config.MinimumPositionAmount}"); } - if (string.IsNullOrEmpty(newConfig.AccountName)) - { - throw new ArgumentException("Account name cannot be null or empty"); - } + // if (string.IsNullOrEmpty(newConfig.AccountName)) + // { + // throw new ArgumentException("Account name cannot be null or empty"); + // } if (newConfig.Scenario == null) {