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<bool>
    {
        public Guid Identifier { get; }
        public TradingBotConfig NewConfig { get; }

        public UpdateBotConfigCommand(Guid identifier, TradingBotConfig newConfig)
        {
            Identifier = identifier;
            NewConfig = newConfig;
        }
    }
} 