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;
        }
    }
} 