Clean a bit and add prod env to front
This commit is contained in:
@@ -1008,6 +1008,7 @@ public class TradingBot : Bot, ITradingBot
|
||||
BotTradingBalance = data.BotTradingBalance,
|
||||
BotType = data.BotType,
|
||||
CooldownPeriod = data.CooldownPeriod,
|
||||
MaxLossStreak = data.MaxLossStreak,
|
||||
Name = data.Name
|
||||
};
|
||||
|
||||
@@ -1077,5 +1078,6 @@ public class TradingBotBackup
|
||||
public MoneyManagement MoneyManagement { get; set; }
|
||||
public DateTime StartupTime { get; set; }
|
||||
public decimal BotTradingBalance { get; set; }
|
||||
public decimal CooldownPeriod { get; set; }
|
||||
public int CooldownPeriod { get; set; }
|
||||
public int MaxLossStreak { get; set; }
|
||||
}
|
||||
@@ -15,7 +15,7 @@ public class TradingBotConfig
|
||||
public bool FlipPosition { get; set; }
|
||||
public BotType BotType { get; set; }
|
||||
public decimal BotTradingBalance { get; set; }
|
||||
public decimal CooldownPeriod { get; set; } = 1;
|
||||
public int MaxLossStreak { get; set; } = 0; // 0 means no limit
|
||||
public int CooldownPeriod { get; set; } = 1;
|
||||
public int MaxLossStreak { get; set; } = 0;
|
||||
public string Name { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user