コード例 #1
0
 public CancelOrderHandler(IBusPublisher publisher, IXchangeCommands orderClient, ITracer tracer, ILogger <CancelOrderHandler> log)
 {
     _tracer       = tracer;
     _orderClient  = orderClient;
     _busPublisher = publisher;
     _logger       = log;
 }
コード例 #2
0
 public SetLeverageHandler(IXchangeCommands orderServiceClient, ILogger <SetLeverageHandler> logger)
 {
     _orderServiceClient = orderServiceClient;
     _logger             = logger;
 }
コード例 #3
0
        //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;
        }
コード例 #4
0
 public UpdateOrderHandler(IXchangeCommands orderClient, ILogger <UpdateOrderHandler> logger)
 {
     _orderClient = orderClient;
     _logger      = logger;
 }