Clean a bit and add prod env to front

This commit is contained in:
2025-05-11 17:23:02 +07:00
parent 549c4ae746
commit 65c4ec4957
15 changed files with 184 additions and 230 deletions

View File

@@ -140,7 +140,9 @@ public class BotController : BaseController
Timeframe = request.Timeframe,
IsForWatchingOnly = request.IsForWatchOnly,
BotTradingBalance = request.InitialTradingBalance,
BotType = request.BotType
BotType = request.BotType,
CooldownPeriod = request.CooldownPeriod,
MaxLossStreak = request.MaxLossStreak
};
var result = await _mediator.Send(new StartBotCommand(config, request.Identifier, user));
@@ -622,4 +624,7 @@ public class StartBotRequest
/// The initial trading balance
/// </summary>
public decimal InitialTradingBalance { get; set; }
public int CooldownPeriod { get; set; }
public int MaxLossStreak { get; set; }
}