using Managing.Domain.Bots;
using Managing.Domain.Users;
using MediatR;
using static Managing.Common.Enums;

namespace Managing.Application.ManageBot.Commands
{
    public class StartBotCommand : IRequest<BotStatus>
    {
        public TradingBotConfig Config { get; }
        public User User { get; internal set; }
        public bool CreateOnly { get; }

        public StartBotCommand(TradingBotConfig config, User user, bool createOnly = false)
        {
            Config = config;
            User = user;
            CreateOnly = createOnly;
        }
    }
}