Esempio n. 1
0
 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;
 }
Esempio n. 3
0
 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;
 }