Remove ocndition for account name

This commit is contained in:
2025-10-12 10:27:47 +07:00
parent 7ddde08b98
commit 4543246871

View File

@@ -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)
{