Ejemplo n.º 1
0
 public QuoteService(
     IQuoteThresholdSettingsService quoteThresholdSettingsService,
     IQuoteThresholdLogService quoteThresholdLogService)
 {
     _quoteThresholdSettingsService = quoteThresholdSettingsService;
     _quoteThresholdLogService      = quoteThresholdLogService;
     _cache = new InMemoryCache <Quote>(GetKey, true);
 }
Ejemplo n.º 2
0
 public QuoteService(
     IQuoteThresholdSettingsService quoteThresholdSettingsService,
     IInstrumentService instrumentService,
     ILogFactory logFactory)
 {
     _quoteThresholdSettingsService = quoteThresholdSettingsService;
     _instrumentService             = instrumentService;
     _cache = new InMemoryCache <Quote>(GetKey, true);
     _log   = logFactory.CreateLog(this);
 }
Ejemplo n.º 3
0
 public SettingsController(
     ISettingsService settingsService,
     ITimersSettingsService timersSettingsService,
     IQuoteTimeoutSettingsService quoteTimeoutSettingsService,
     IQuoteThresholdSettingsService quoteThresholdSettingsService,
     IMarketMakerSettingsService marketMakerSettingsService)
 {
     _settingsService               = settingsService;
     _timersSettingsService         = timersSettingsService;
     _quoteTimeoutSettingsService   = quoteTimeoutSettingsService;
     _quoteThresholdSettingsService = quoteThresholdSettingsService;
     _marketMakerSettingsService    = marketMakerSettingsService;
 }
 public SettingsController(
     ISettingsService settingsService,
     IHedgeSettingsService hedgeSettingsService,
     ITimersSettingsService timersSettingsService,
     IQuoteService quoteService,
     IQuoteThresholdSettingsService quoteThresholdSettingsService)
 {
     _settingsService               = settingsService;
     _hedgeSettingsService          = hedgeSettingsService;
     _timersSettingsService         = timersSettingsService;
     _quoteService                  = quoteService;
     _quoteThresholdSettingsService = quoteThresholdSettingsService;
 }