Пример #1
0
 public PrivateService(
     HistoryWrapperClient historyClient,
     IBalanceService balanceService,
     ValidationService validationService,
     IMatchingEngineClient matchingEngineClient,
     BalancesStreamService balanceUpdateService,
     OrdersStreamService orderUpdateService,
     TradesStreamService tradeUpdateService,
     ISiriusWalletsService siriusWalletsService,
     IMapper mapper
     )
 {
     _historyClient        = historyClient;
     _balanceService       = balanceService;
     _validationService    = validationService;
     _matchingEngineClient = matchingEngineClient;
     _balanceUpdateService = balanceUpdateService;
     _orderUpdateService   = orderUpdateService;
     _tradeUpdateService   = tradeUpdateService;
     _siriusWalletsService = siriusWalletsService;
     _mapper = mapper;
 }
Пример #2
0
 public StreamsManager(
     MyNoSqlTcpClient noSqlTcpClient,
     IMyNoSqlServerDataReader <PriceEntity> pricesReader,
     IMyNoSqlServerDataReader <TickerEntity> tickerReader,
     IMyNoSqlServerDataReader <OrderbookEntity> orderbookReader,
     IMyNoSqlServerDataReader <BalanceEntity> balanceReader,
     PricesStreamService priceStraem,
     TickersStreamService tickerStream,
     OrderbookStreamService orderbookStream,
     BalancesStreamService balanceStream,
     IMapper mapper
     )
 {
     _noSqlTcpClient  = noSqlTcpClient;
     _pricesReader    = pricesReader;
     _tickerReader    = tickerReader;
     _orderbookReader = orderbookReader;
     _balanceReader   = balanceReader;
     _priceStraem     = priceStraem;
     _tickerStream    = tickerStream;
     _orderbookStream = orderbookStream;
     _balanceStream   = balanceStream;
     _mapper          = mapper;
 }