Optionnal cooldown

This commit is contained in:
2025-09-12 00:12:48 +07:00
parent cb6778d9a0
commit da50b30344
6 changed files with 10 additions and 13 deletions

View File

@@ -50,13 +50,11 @@ public class TradingBotConfigRequest
/// <summary>
/// Cooldown period between trades (in candles)
/// </summary>
[Required]
public int CooldownPeriod { get; set; }
public int? CooldownPeriod { get; set; }
/// <summary>
/// Maximum consecutive losses before stopping the bot
/// </summary>
[Required]
public int MaxLossStreak { get; set; }
/// <summary>