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

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

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