using Managing.Domain.Trades;
using MediatR;
using static Managing.Common.Enums;

namespace Managing.Application.Trading.Commands
{
    public class GetTradesCommand : IRequest<List<Trade>>
    {
        public GetTradesCommand(Ticker ticker, string accountName)
        {
            Ticker = ticker;
            AccountName = accountName;
        }

        public string AccountName { get; }
        public Ticker Ticker { get; }
    }
}
