public BalancesController(
     IBalancesService balancesService,
     ILogFactory logFactory)
 {
     _balancesService = balancesService;
     _log             = logFactory.CreateLog(this);
 }
 public OrderBook(
     string pair,
     IBalancesService balancesService)
 {
     Pair             = pair;
     _balancesService = balancesService;
 }
 public FakeExchange(
     IBalancesService balancesService,
     IClientOrdersService clientOrdersService,
     IOrderBookPublisher orderBookPublisher,
     ITickPricePublisher tickPricePublisher,
     bool matchExternalOrderBooks,
     string exchangeName)
 {
     _balancesService         = balancesService;
     _clientOrdersService     = clientOrdersService;
     _orderBookPublisher      = orderBookPublisher;
     _tickPricePublisher      = tickPricePublisher;
     _matchExternalOrderBooks = matchExternalOrderBooks;
     _exchangeName            = exchangeName;
 }
 public BalancesController(IBalancesService balancesService, IMapper mapper)
 {
     _balancesService = balancesService;
     _mapper          = mapper;
 }
예제 #5
0
 public BalancesController(IBalancesService balancesService, ICustomerService customerService)
 {
     _balancesService = balancesService;
     _customerService = customerService;
 }
예제 #6
0
 public BalancesService(IBalancesService balancesService, IMapper mapper)
 {
     _balancesService = balancesService;
     _mapper          = mapper;
 }
예제 #7
0
 public WalletsController(IBalancesService balancesService)
 {
     _balancesService = balancesService;
 }