public SettingsController( ISettingsService settingsService, IHedgeSettingsService hedgeSettingsService, ITimersSettingsService timersSettingsService, IQuoteService quoteService, IQuoteThresholdSettingsService quoteThresholdSettingsService) { _settingsService = settingsService; _hedgeSettingsService = hedgeSettingsService; _timersSettingsService = timersSettingsService; _quoteService = quoteService; _quoteThresholdSettingsService = quoteThresholdSettingsService; }
public PositionReportService( IPositionService positionService, IHedgeLimitOrderService hedgeLimitOrderService, IAssetHedgeSettingsService assetHedgeSettingsService, IInvestmentService investmentService, IHedgeSettingsService hedgeSettingsService, IRateService rateService) { _positionService = positionService; _hedgeLimitOrderService = hedgeLimitOrderService; _assetHedgeSettingsService = assetHedgeSettingsService; _investmentService = investmentService; _hedgeSettingsService = hedgeSettingsService; _rateService = rateService; }
public HedgeService( IIndexPriceService indexPriceService, IIndexSettingsService indexSettingsService, IAssetHedgeSettingsService assetHedgeSettingsService, ITokenService tokenService, IPositionService positionService, IHedgeSettingsService hedgeSettingsService, IInvestmentService investmentService, IQuoteService quoteService, IExchangeAdapter[] exchangeAdapters, ILogFactory logFactory) { _indexPriceService = indexPriceService; _indexSettingsService = indexSettingsService; _assetHedgeSettingsService = assetHedgeSettingsService; _tokenService = tokenService; _positionService = positionService; _hedgeSettingsService = hedgeSettingsService; _investmentService = investmentService; _quoteService = quoteService; _exchangeAdapters = exchangeAdapters.ToDictionary(exchange => exchange.Name, exchange => exchange); _log = logFactory.CreateLog(this); }