Ejemplo n.º 1
0
 public PublicService(
     IAssetsService assetsService,
     IOrderbooksService orderbooksService,
     MarketDataService.MarketDataServiceClient marketDataClient,
     ITradesAdapterClient tradesAdapterClient,
     PricesStreamService priceStreamService,
     TickersStreamService tickerUpdateService,
     OrderbookStreamService orderbookUpdateService,
     PublicTradesStreamService publicTradesStreamService,
     ValidationService validationService,
     IMyNoSqlServerDataReader <TickerEntity> tickersReader,
     IMyNoSqlServerDataReader <PriceEntity> pricesReader,
     IMapper mapper
     )
 {
     _assetsService             = assetsService;
     _orderbooksService         = orderbooksService;
     _marketDataClient          = marketDataClient;
     _tradesAdapterClient       = tradesAdapterClient;
     _priceStreamService        = priceStreamService;
     _tickerUpdateService       = tickerUpdateService;
     _orderbookUpdateService    = orderbookUpdateService;
     _publicTradesStreamService = publicTradesStreamService;
     _validationService         = validationService;
     _tickersReader             = tickersReader;
     _pricesReader = pricesReader;
     _mapper       = mapper;
 }
Ejemplo n.º 2
0
 public GenerateOrderbookService(
     IOrderbooksService orderbooksService,
     IDisabledOrderbooksService disabledOrderbooksService,
     IOutdatedOrderbooksService outdatedOrderbooksService,
     IOutliersOrderbooksService outliersOrderbooksService,
     IRepeatedProblemsOrderbooksService repeatedProblemsOrderbooksService,
     IExtPricesSettingsService extPricesSettingsService,
     IAlertService alertService,
     IPrimaryExchangeService primaryExchangeService,
     ITransformOrderbookService transformOrderbookService,
     IBestPricesService bestPricesService,
     ILog log,
     ITelemetryService telemetryService,
     ITestingHelperService testingHelperService,
     IStopTradesService stopTradesService,
     ISystem system,
     IAggregateOrderbookService aggregateOrderbookService)
 {
     _orderbooksService                 = orderbooksService;
     _disabledOrderbooksService         = disabledOrderbooksService;
     _outdatedOrderbooksService         = outdatedOrderbooksService;
     _outliersOrderbooksService         = outliersOrderbooksService;
     _repeatedProblemsOrderbooksService = repeatedProblemsOrderbooksService;
     _extPricesSettingsService          = extPricesSettingsService;
     _alertService              = alertService;
     _primaryExchangeService    = primaryExchangeService;
     _transformOrderbookService = transformOrderbookService;
     _bestPricesService         = bestPricesService;
     _log = log;
     _telemetryService     = telemetryService;
     _testingHelperService = testingHelperService;
     _stopTradesService    = stopTradesService;
     _system = system;
     _aggregateOrderbookService = aggregateOrderbookService;
 }
 public OrderbookStreamService(
     IOrderbooksService orderbooksService,
     IMapper mapper,
     ILogFactory logFactory,
     bool needPing = false) : base(logFactory, needPing)
 {
     _orderbooksService = orderbooksService;
     _mapper            = mapper;
 }
Ejemplo n.º 4
0
 public OrderbooksController(
     IOrderbooksService orderbooksService,
     ValidationService validationService,
     IMapper mapper
     )
 {
     _orderbooksService = orderbooksService;
     _validationService = validationService;
     _mapper            = mapper;
 }
Ejemplo n.º 5
0
 public PublicService(
     IAssetsService assetsService,
     IOrderbooksService orderbooksService,
     MarketDataService.MarketDataServiceClient marketDataClient,
     IStreamService <PriceUpdate> priceStreamService,
     IStreamService <TickerUpdate> tickerUpdateService,
     IStreamService <Orderbook> orderbookUpdateService,
     ValidationService validationService,
     IMapper mapper
     )
 {
     _assetsService          = assetsService;
     _orderbooksService      = orderbooksService;
     _marketDataClient       = marketDataClient;
     _priceStreamService     = priceStreamService;
     _tickerUpdateService    = tickerUpdateService;
     _orderbookUpdateService = orderbookUpdateService;
     _validationService      = validationService;
     _mapper = mapper;
 }