public TradesController( ValidationService validationService, HistoryHttpClient historyClient, IMapper mapper ) { _validationService = validationService; _historyClient = historyClient; _mapper = mapper; }
public OrdersController( HistoryHttpClient historyClient, ValidationService validationService, IMatchingEngineClient matchingEngineClient, IMyNoSqlServerDataReader <OrderEntity> ordersReader, IMapper mapper ) { _historyClient = historyClient; _validationService = validationService; _matchingEngineClient = matchingEngineClient; _ordersReader = ordersReader; _mapper = mapper; }
public PrivateService( HistoryHttpClient historyClient, IBalanceService balanceService, ValidationService validationService, IMatchingEngineClient matchingEngineClient, IStreamService <BalanceUpdate> balanceUpdateService, IStreamService <OrderUpdate> orderUpdateService, IStreamService <TradeUpdate> tradeUpdateService, IMyNoSqlServerDataReader <OrderEntity> ordersReader, IMapper mapper ) { _historyClient = historyClient; _balanceService = balanceService; _validationService = validationService; _matchingEngineClient = matchingEngineClient; _balanceUpdateService = balanceUpdateService; _orderUpdateService = orderUpdateService; _tradeUpdateService = tradeUpdateService; _ordersReader = ordersReader; _mapper = mapper; }