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}");
|
$"Bot trading balance must be greater than {Constants.GMX.Config.MinimumPositionAmount}");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(newConfig.AccountName))
|
// if (string.IsNullOrEmpty(newConfig.AccountName))
|
||||||
{
|
// {
|
||||||
throw new ArgumentException("Account name cannot be null or empty");
|
// throw new ArgumentException("Account name cannot be null or empty");
|
||||||
}
|
// }
|
||||||
|
|
||||||
if (newConfig.Scenario == null)
|
if (newConfig.Scenario == null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user