コード例 #1
0
 public SettingsController(
     ISettingsService settingsService,
     IQuoteService quoteService,
     ITimersSettingsService timersSettingsService,
     IQuoteTimeoutSettingsService quoteTimeoutSettingsService)
 {
     _settingsService             = settingsService;
     _quoteService                = quoteService;
     _timersSettingsService       = timersSettingsService;
     _quoteTimeoutSettingsService = quoteTimeoutSettingsService;
 }
コード例 #2
0
 public SettingsController(
     ISettingsService settingsService,
     ITimersSettingsService timersSettingsService,
     IQuoteTimeoutSettingsService quoteTimeoutSettingsService,
     IQuoteThresholdSettingsService quoteThresholdSettingsService,
     IMarketMakerSettingsService marketMakerSettingsService)
 {
     _settingsService               = settingsService;
     _timersSettingsService         = timersSettingsService;
     _quoteTimeoutSettingsService   = quoteTimeoutSettingsService;
     _quoteThresholdSettingsService = quoteThresholdSettingsService;
     _marketMakerSettingsService    = marketMakerSettingsService;
 }
コード例 #3
0
 public MarketMakerService(
     IInstrumentService instrumentService,
     IQuoteService quoteService,
     ILykkeExchangeService lykkeExchangeService,
     IOrderBookService orderBookService,
     IBalanceService balanceService,
     IQuoteTimeoutSettingsService quoteTimeoutSettingsService,
     IAssetPairsReadModelRepository assetPairsReadModelRepository,
     ILogFactory logFactory)
 {
     _instrumentService             = instrumentService;
     _quoteService                  = quoteService;
     _lykkeExchangeService          = lykkeExchangeService;
     _orderBookService              = orderBookService;
     _balanceService                = balanceService;
     _quoteTimeoutSettingsService   = quoteTimeoutSettingsService;
     _assetPairsReadModelRepository = assetPairsReadModelRepository;
     _log = logFactory.CreateLog(this);
 }
コード例 #4
0
 public MarketMakerService(
     IInstrumentService instrumentService,
     ILykkeExchangeService lykkeExchangeService,
     IOrderBookService orderBookService,
     IBalanceService balanceService,
     IMarketMakerStateService marketMakerStateService,
     IQuoteService quoteService,
     IB2C2OrderBookService b2C2OrderBookService,
     IQuoteTimeoutSettingsService quoteTimeoutSettingsService,
     ISummaryReportService summaryReportService,
     IPositionService positionService,
     IAssetsServiceWithCache assetsServiceWithCache,
     IMarketMakerSettingsService marketMakerSettingsService,
     ITradeService tradeService,
     IAssetPairLinkService assetPairLinkService,
     IPnLStopLossEngineService pnLStopLossEngineService,
     IFiatEquityStopLossService fiatEquityStopLossService,
     INoFreshQuotesStopLossService noFreshQuotesStopLossService,
     IOrderBooksUpdatesReportPublisher orderBooksUpdatesReportPublisher,
     bool isOrderBooksUpdateReportEnabled,
     ILogFactory logFactory)
 {
     _instrumentService                = instrumentService;
     _lykkeExchangeService             = lykkeExchangeService;
     _orderBookService                 = orderBookService;
     _balanceService                   = balanceService;
     _marketMakerStateService          = marketMakerStateService;
     _quoteService                     = quoteService;
     _b2C2OrderBookService             = b2C2OrderBookService;
     _quoteTimeoutSettingsService      = quoteTimeoutSettingsService;
     _summaryReportService             = summaryReportService;
     _positionService                  = positionService;
     _assetsServiceWithCache           = assetsServiceWithCache;
     _marketMakerSettingsService       = marketMakerSettingsService;
     _tradeService                     = tradeService;
     _assetPairLinkService             = assetPairLinkService;
     _pnLStopLossEngineService         = pnLStopLossEngineService;
     _fiatEquityStopLossService        = fiatEquityStopLossService;
     _noFreshQuotesStopLossService     = noFreshQuotesStopLossService;
     _orderBooksUpdatesReportPublisher = orderBooksUpdatesReportPublisher;
     _isOrderBooksUpdateReportEnabled  = isOrderBooksUpdateReportEnabled;
     _log = logFactory.CreateLog(this);
 }