Remove ocndition for account name
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user