コード例 #1
0
 public NoFreshQuotesStopLossService(
     IQuoteService quoteService,
     IMarketMakerSettingsService marketMakerSettingsService,
     IInstrumentService instrumentService,
     ILogFactory logFactory)
 {
     _quoteService = quoteService;
     _marketMakerSettingsService = marketMakerSettingsService;
     _instrumentService          = instrumentService;
     _log = logFactory.CreateLog(this);
 }
コード例 #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 InstrumentMarkupService(
     IMarketMakerSettingsService marketMakerSettingsService,
     IPnLStopLossEngineService pnLStopLossEngineService,
     IFiatEquityStopLossService fiatEquityStopLossService,
     INoFreshQuotesStopLossService noFreshQuotesStopLossService,
     IInstrumentService instrumentService)
 {
     _marketMakerSettingsService   = marketMakerSettingsService;
     _pnLStopLossEngineService     = pnLStopLossEngineService;
     _fiatEquityStopLossService    = fiatEquityStopLossService;
     _noFreshQuotesStopLossService = noFreshQuotesStopLossService;
     _instrumentService            = instrumentService;
 }
 public FiatEquityStopLossService(
     IBalanceIndicatorsReportService balanceIndicatorsReportService,
     IAssetSettingsService assetSettingsService,
     IMarketMakerSettingsService marketMakerSettingsService,
     IAssetsServiceWithCache assetsServiceWithCache,
     IInstrumentService instrumentService,
     ILogFactory logFactory)
 {
     _balanceIndicatorsReportService = balanceIndicatorsReportService;
     _assetSettingsService           = assetSettingsService;
     _marketMakerSettingsService     = marketMakerSettingsService;
     _assetsServiceWithCache         = assetsServiceWithCache;
     _instrumentService = instrumentService;
     _log = logFactory.CreateLog(this);
 }
コード例 #5
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);
 }