Add new parameters
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user