public Application( MarketMakerService marketMakerService, ILog logger, MarginTradingSettings marginSettings, IMaintenanceModeService maintenanceModeService, IRabbitMqService rabbitMqService, MatchingEngineRoutesManager matchingEngineRoutesManager, IMigrationService migrationService, IConvertService convertService, IFxRateCacheService fxRateCacheService, IExternalOrderbookService externalOrderbookService, BrokerSettingsChangedHandler brokerSettingsChangedHandler) { _marketMakerService = marketMakerService; _logger = logger; _marginSettings = marginSettings; _maintenanceModeService = maintenanceModeService; _rabbitMqService = rabbitMqService; _matchingEngineRoutesManager = matchingEngineRoutesManager; _migrationService = migrationService; _convertService = convertService; _fxRateCacheService = fxRateCacheService; _externalOrderbookService = externalOrderbookService; _brokerSettingsChangedHandler = brokerSettingsChangedHandler; }
public SnapshotService( IScheduleSettingsCacheService scheduleSettingsCacheService, IAccountsCacheService accountsCacheService, IQuoteCacheService quoteCacheService, IFxRateCacheService fxRateCacheService, IOrderReader orderReader, IDateService dateService, ITradingEngineSnapshotsRepository tradingEngineSnapshotsRepository, ISnapshotValidationService snapshotValidationService, IQueueValidationService queueValidationService, IMarginTradingBlobRepository blobRepository, ILog log, IFinalSnapshotCalculator finalSnapshotCalculator) { _scheduleSettingsCacheService = scheduleSettingsCacheService; _accountsCacheService = accountsCacheService; _quoteCacheService = quoteCacheService; _fxRateCacheService = fxRateCacheService; _orderReader = orderReader; _dateService = dateService; _tradingEngineSnapshotsRepository = tradingEngineSnapshotsRepository; _snapshotValidationService = snapshotValidationService; _queueValidationService = queueValidationService; _blobRepository = blobRepository; _log = log; _finalSnapshotCalculator = finalSnapshotCalculator; }
public void SetUp() { RegisterDependencies(); _quoteCacheService = Container.Resolve <IQuoteCacheService>(); _bestPriceConsumer = Container.Resolve <IEventChannel <BestPriceChangeEventArgs> >(); _cfdCalculatorService = Container.Resolve <ICfdCalculatorService>(); _fxRateCacheService = Container.Resolve <IFxRateCacheService>(); }
public PricesController( IQuoteCacheService quoteCacheService, IFxRateCacheService fxRateCacheService, OrdersCache ordersCache) { _quoteCacheService = quoteCacheService; _fxRateCacheService = fxRateCacheService; _ordersCache = ordersCache; }
public CfdCalculatorService( IAssetPairsCache assetPairsCache, IFxRateCacheService fxRateCacheService, IQuoteCacheService quoteCacheService) { _assetPairsCache = assetPairsCache; _fxRateCacheService = fxRateCacheService; _quoteCacheService = quoteCacheService; }
public void SetUp() { RegisterDependencies(); _bestPriceConsumer = Container.Resolve <IEventChannel <BestPriceChangeEventArgs> >(); _fxRateCacheService = Container.Resolve <IFxRateCacheService>(); _accountsCacheService = Container.Resolve <IAccountsCacheService>(); _ordersCache = Container.Resolve <OrdersCache>(); _fplService = Container.Resolve <IFplService>(); _dateService = Container.Resolve <IDateService>(); }
public PricesController( IQuoteCacheService quoteCacheService, IFxRateCacheService fxRateCacheService, ISnapshotService snapshotService, ILog log, IDraftSnapshotKeeper draftSnapshotKeeper) { _quoteCacheService = quoteCacheService; _fxRateCacheService = fxRateCacheService; _snapshotService = snapshotService; _log = log; _draftSnapshotKeeper = draftSnapshotKeeper; }
public SnapshotService( IScheduleSettingsCacheService scheduleSettingsCacheService, IAccountsCacheService accountsCacheService, IQuoteCacheService quoteCacheService, IFxRateCacheService fxRateCacheService, IOrderReader orderReader, IDateService dateService, ITradingEngineSnapshotsRepository tradingEngineSnapshotsRepository) { _scheduleSettingsCacheService = scheduleSettingsCacheService; _accountsCacheService = accountsCacheService; _quoteCacheService = quoteCacheService; _fxRateCacheService = fxRateCacheService; _orderReader = orderReader; _dateService = dateService; _tradingEngineSnapshotsRepository = tradingEngineSnapshotsRepository; }
public Application( IRabbitMqNotifyService rabbitMqNotifyService, IConsole consoleWriter, MarketMakerService marketMakerService, ILog logger, MarginTradingSettings marginSettings, IMaintenanceModeService maintenanceModeService, IRabbitMqService rabbitMqService, MatchingEngineRoutesManager matchingEngineRoutesManager, IMigrationService migrationService, IConvertService convertService, IFxRateCacheService fxRateCacheService, IExternalOrderbookService externalOrderbookService, IAssetsManager assetsManager, IAssetPairsManager assetPairsManager, ITradingInstrumentsManager tradingInstrumentsManager, ITradingConditionsManager tradingConditionsManager, IScheduleSettingsCacheService scheduleSettingsCacheService, IOvernightMarginService overnightMarginService, IThreadSwitcher threadSwitcher) { _rabbitMqNotifyService = rabbitMqNotifyService; _consoleWriter = consoleWriter; _marketMakerService = marketMakerService; _logger = logger; _marginSettings = marginSettings; _maintenanceModeService = maintenanceModeService; _rabbitMqService = rabbitMqService; _matchingEngineRoutesManager = matchingEngineRoutesManager; _migrationService = migrationService; _convertService = convertService; _fxRateCacheService = fxRateCacheService; _externalOrderbookService = externalOrderbookService; _assetsManager = assetsManager; _assetPairsManager = assetPairsManager; _tradingInstrumentsManager = tradingInstrumentsManager; _tradingConditionsManager = tradingConditionsManager; _scheduleSettingsCacheService = scheduleSettingsCacheService; _overnightMarginService = overnightMarginService; _threadSwitcher = threadSwitcher; }