Ejemplo n.º 1
0
 public ExtPricesStatusService(IPrimaryExchangeService primaryExchangeService,
                               IBestPricesService bestPricesService, IConvertService convertService)
 {
     _primaryExchangeService = primaryExchangeService;
     _bestPricesService      = bestPricesService;
     _convertService         = convertService;
 }
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;
 }
Ejemplo n.º 3
0
 public CrossRatesService(IBestPricesService bestPricesService,
                          ICrossRateCalcInfosService crossRateCalcInfosService,
                          IAssetPairSourceTypeService assetPairSourceTypeService)
 {
     _bestPricesService          = bestPricesService;
     _crossRateCalcInfosService  = crossRateCalcInfosService;
     _assetPairSourceTypeService = assetPairSourceTypeService;
 }
 public OutliersOrderbooksService(
     IBestPricesService bestPricesService,
     IExtPricesSettingsService extPricesSettingsService,
     IPrimaryExchangeService primaryExchangeService)
 {
     _bestPricesService        = bestPricesService;
     _extPricesSettingsService = extPricesSettingsService;
     _primaryExchangeService   = primaryExchangeService;
 }
 public OrderbookAggregatorService(ISettingsService settingsService,
                                   IRabbitMqService rabbitMqService,
                                   ISystem system,
                                   IReloadingManager <MarginTradingOrderbookAggregatorSettings> settings,
                                   IAlertService alertService, IBestPricesService bestPricesService, IWatchdogService watchdogService,
                                   IOrderbooksStatusService orderbooksStatusService)
 {
     _settingsService         = settingsService;
     _system                  = system;
     _alertService            = alertService;
     _bestPricesService       = bestPricesService;
     _watchdogService         = watchdogService;
     _orderbooksStatusService = orderbooksStatusService;
     _messageProducer         = CreateRabbitMqMessageProducer(settings, rabbitMqService);
 }