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

@@ -256,7 +256,7 @@ public class BundleBacktestWorker : BaseWorker<BundleBacktestWorker>
IsForWatchingOnly = runBacktestRequest.Config.IsForWatchingOnly,
BotTradingBalance = runBacktestRequest.Config.BotTradingBalance,
IsForBacktest = true,
CooldownPeriod = runBacktestRequest.Config.CooldownPeriod,
CooldownPeriod = runBacktestRequest.Config.CooldownPeriod ?? 1,
MaxLossStreak = runBacktestRequest.Config.MaxLossStreak,
MaxPositionTimeHours = runBacktestRequest.Config.MaxPositionTimeHours,
FlipOnlyWhenInProfit = runBacktestRequest.Config.FlipOnlyWhenInProfit,