Add new parameters

This commit is contained in:
2025-06-03 01:01:17 +07:00
parent 71bcaea76d
commit 8c2e9b59de
23 changed files with 1346 additions and 510 deletions

View File

@@ -0,0 +1,20 @@
using Managing.Domain.Bots;
using MediatR;
namespace Managing.Application.ManageBot.Commands
{
/// <summary>
/// Command to update the configuration of a running trading bot
/// </summary>
public class UpdateBotConfigCommand : IRequest<string>
{
public string Identifier { get; }
public TradingBotConfig NewConfig { get; }
public UpdateBotConfigCommand(string identifier, TradingBotConfig newConfig)
{
Identifier = identifier;
NewConfig = newConfig;
}
}
}