public CancelOrderHandler(IBusPublisher publisher, IXchangeCommands orderClient, ITracer tracer, ILogger <CancelOrderHandler> log) { _tracer = tracer; _orderClient = orderClient; _busPublisher = publisher; _logger = log; }
public SetLeverageHandler(IXchangeCommands orderServiceClient, ILogger <SetLeverageHandler> logger) { _orderServiceClient = orderServiceClient; _logger = logger; }
//private readonly IXchangeCommands _orderClient; //private readonly IBusPublisher _busPublisher; //private readonly IBusPublisher _busPublisher; public CreateOrderHandler(/*IBusPublisher busPublisher,*/ IOrderCache orderCache, IXchangeCommands orderClient, ITracer tracer, ILogger <CreateOrderHandler> logger) { _logger = logger; _tracer = tracer; _orderCache = orderCache; //_orderClient = orderClient; // _busPublisher = busPublisher; }
public UpdateOrderHandler(IXchangeCommands orderClient, ILogger <UpdateOrderHandler> logger) { _orderClient = orderClient; _logger = logger; }