コード例 #1
0
 public ExternalOrderbookService(
     IEventChannel <BestPriceChangeEventArgs> bestPriceChangeEventChannel,
     IOrderBookProviderApi orderBookProviderApi,
     IDateService dateService,
     IConvertService convertService,
     IAssetPairDayOffService assetPairDayOffService,
     IScheduleSettingsCacheService scheduleSettingsCache,
     IAssetPairsCache assetPairsCache,
     ICqrsSender cqrsSender,
     IIdentityGenerator identityGenerator,
     ILog log,
     MarginTradingSettings marginTradingSettings)
 {
     _bestPriceChangeEventChannel = bestPriceChangeEventChannel;
     _orderBookProviderApi        = orderBookProviderApi;
     _dateService            = dateService;
     _convertService         = convertService;
     _assetPairDayOffService = assetPairDayOffService;
     _scheduleSettingsCache  = scheduleSettingsCache;
     _assetPairsCache        = assetPairsCache;
     _cqrsSender             = cqrsSender;
     _identityGenerator      = identityGenerator;
     _log = log;
     _marginTradingSettings = marginTradingSettings;
 }
コード例 #2
0
 public LightweightExternalOrderbookService(
     IEventChannel <BestPriceChangeEventArgs> bestPriceChangeEventChannel,
     IOrderBookProviderApi orderBookProviderApi,
     IDateService dateService,
     IConvertService convertService,
     IScheduleSettingsCacheService scheduleSettingsCache,
     IAssetPairDayOffService assetPairDayOffService,
     IAssetPairsCache assetPairsCache,
     ICqrsSender cqrsSender,
     IIdentityGenerator identityGenerator,
     ILog log,
     MarginTradingSettings marginTradingSettings)
 {
     _bestPriceChangeEventChannel = bestPriceChangeEventChannel;
     _orderBookProviderApi        = orderBookProviderApi;
     _dateService            = dateService;
     _convertService         = convertService;
     _scheduleSettingsCache  = scheduleSettingsCache;
     _assetPairDayOffService = assetPairDayOffService;
     _assetPairsCache        = assetPairsCache;
     _cqrsSender             = cqrsSender;
     _identityGenerator      = identityGenerator;
     _log = log;
     _defaultExternalExchangeId = string.IsNullOrEmpty(marginTradingSettings.DefaultExternalExchangeId)
         ? "Default"
         : marginTradingSettings.DefaultExternalExchangeId;
     _orderbookValidation = marginTradingSettings.OrderbookValidation;
 }
コード例 #3
0
 public ValidateOrderService(
     IQuoteCacheService quoteCashService,
     IAccountUpdateService accountUpdateService,
     IAccountsCacheService accountsCacheService,
     ITradingInstrumentsCacheService accountAssetsCacheService,
     IAssetPairsCache assetPairsCache,
     OrdersCache ordersCache,
     IAssetPairDayOffService assetDayOffService,
     IIdentityGenerator identityGenerator,
     IDateService dateService,
     MarginTradingSettings marginSettings,
     ICfdCalculatorService cfdCalculatorService,
     IFeatureManager featureManager,
     CorrelationContextAccessor correlationContextAccessor)
 {
     _quoteCashService           = quoteCashService;
     _accountUpdateService       = accountUpdateService;
     _accountsCacheService       = accountsCacheService;
     _tradingInstrumentsCache    = accountAssetsCacheService;
     _assetPairsCache            = assetPairsCache;
     _ordersCache                = ordersCache;
     _assetDayOffService         = assetDayOffService;
     _identityGenerator          = identityGenerator;
     _dateService                = dateService;
     _marginSettings             = marginSettings;
     _cfdCalculatorService       = cfdCalculatorService;
     _featureManager             = featureManager;
     _correlationContextAccessor = correlationContextAccessor;
 }
コード例 #4
0
 public ValidateOrderService(
     IQuoteCacheService quoteCashService,
     IAccountUpdateService accountUpdateService,
     IAccountsCacheService accountsCacheService,
     ITradingInstrumentsCacheService accountAssetsCacheService,
     IAssetPairsCache assetPairsCache,
     OrdersCache ordersCache,
     IAssetPairDayOffService assetDayOffService,
     IIdentityGenerator identityGenerator,
     IDateService dateService,
     MarginTradingSettings marginSettings,
     ICfdCalculatorService cfdCalculatorService)
 {
     _quoteCashService        = quoteCashService;
     _accountUpdateService    = accountUpdateService;
     _accountsCacheService    = accountsCacheService;
     _tradingInstrumentsCache = accountAssetsCacheService;
     _assetPairsCache         = assetPairsCache;
     _ordersCache             = ordersCache;
     _assetDayOffService      = assetDayOffService;
     _identityGenerator       = identityGenerator;
     _dateService             = dateService;
     _marginSettings          = marginSettings;
     _cfdCalculatorService    = cfdCalculatorService;
 }
コード例 #5
0
 public AccountUpdateService(
     IFplService fplService,
     OrdersCache ordersCache,
     ILog log,
     ICfdCalculatorService cfdCalculatorService,
     IQuoteCacheService quoteCacheService,
     MarginTradingSettings marginTradingSettings,
     IClientProfileSettingsCache clientProfileSettingsCache,
     IAssetPairsCache assetPairsCache,
     IPositionsProvider positionsProvider,
     IOrdersProvider ordersProvider,
     IAccountsProvider accountsProvider,
     ITradingInstrumentsCacheService tradingInstrumentsCache)
 {
     _fplService                 = fplService;
     _log                        = log;
     _cfdCalculatorService       = cfdCalculatorService;
     _quoteCacheService          = quoteCacheService;
     _marginTradingSettings      = marginTradingSettings;
     _clientProfileSettingsCache = clientProfileSettingsCache;
     _assetPairsCache            = assetPairsCache;
     _positionsProvider          = positionsProvider;
     _ordersProvider             = ordersProvider;
     _accountsProvider           = accountsProvider;
     _tradingInstrumentsCache    = tradingInstrumentsCache;
 }
コード例 #6
0
 public SpecialLiquidationSaga(
     IDateService dateService,
     IChaosKitty chaosKitty,
     IOperationExecutionInfoRepository operationExecutionInfoRepository,
     IRfqService specialLiquidationService,
     MarginTradingSettings marginTradingSettings,
     CqrsContextNamesSettings cqrsContextNamesSettings,
     LiquidationHelper liquidationHelper,
     OrdersCache ordersCache,
     IRfqPauseService rfqPauseService,
     ILog log,
     IAssetPairsCache assetPairsCache)
 {
     _dateService = dateService;
     _chaosKitty  = chaosKitty;
     _operationExecutionInfoRepository = operationExecutionInfoRepository;
     _specialLiquidationService        = specialLiquidationService;
     _marginTradingSettings            = marginTradingSettings;
     _cqrsContextNamesSettings         = cqrsContextNamesSettings;
     _liquidationHelper = liquidationHelper;
     _ordersCache       = ordersCache;
     _rfqPauseService   = rfqPauseService;
     _log             = log;
     _assetPairsCache = assetPairsCache;
 }
コード例 #7
0
        public OvernightSwapNotificationService(
            IOvernightSwapCache overnightSwapCache,
            IAssetPairsCache assetPairsCache,
            IAccountsCacheService accountsCacheService,
            IEmailService emailService,
            IClientAccountService clientAccountService,
            IDateService dateService,

            IOvernightSwapHistoryRepository overnightSwapHistoryRepository,

            IThreadSwitcher threadSwitcher,

            ILog log)
        {
            _overnightSwapCache   = overnightSwapCache;
            _assetPairsCache      = assetPairsCache;
            _accountsCacheService = accountsCacheService;
            _emailService         = emailService;
            _clientAccountService = clientAccountService;
            _dateService          = dateService;

            _overnightSwapHistoryRepository = overnightSwapHistoryRepository;

            _threadSwitcher = threadSwitcher;

            _log = log;
        }
コード例 #8
0
        public OvernightSwapService(
            IOvernightSwapCache overnightSwapCache,
            IAssetPairsCache assetPairsCache,
            IAccountAssetsCacheService accountAssetsCacheService,
            IAccountsCacheService accountsCacheService,
            ICommissionService commissionService,
            IOvernightSwapNotificationService overnightSwapNotificationService,

            IOvernightSwapStateRepository overnightSwapStateRepository,
            IOvernightSwapHistoryRepository overnightSwapHistoryRepository,
            IOrderReader orderReader,
            IThreadSwitcher threadSwitcher,
            IDateService dateService,
            AccountManager accountManager,
            MarginSettings marginSettings,
            ILog log)
        {
            _overnightSwapCache               = overnightSwapCache;
            _assetPairsCache                  = assetPairsCache;
            _accountAssetsCacheService        = accountAssetsCacheService;
            _accountsCacheService             = accountsCacheService;
            _commissionService                = commissionService;
            _overnightSwapNotificationService = overnightSwapNotificationService;

            _overnightSwapStateRepository   = overnightSwapStateRepository;
            _overnightSwapHistoryRepository = overnightSwapHistoryRepository;
            _orderReader    = orderReader;
            _threadSwitcher = threadSwitcher;
            _dateService    = dateService;
            _accountManager = accountManager;
            _marginSettings = marginSettings;
            _log            = log;
        }
コード例 #9
0
 public MtController(
     IMarginTradingAccountHistoryRepository accountsHistoryRepository,
     IMarginTradingOrdersHistoryRepository ordersHistoryRepository,
     IMicrographCacheService micrographCacheService,
     IAccountAssetsCacheService accountAssetsCacheService,
     IAssetPairsCache assetPairsCache,
     IMarketMakerMatchingEngine matchingEngine,
     ITradingEngine tradingEngine,
     IAccountsCacheService accountsCacheService,
     IMarginTradingOperationsLogService operationsLogService,
     IConsole consoleWriter,
     OrdersCache ordersCache,
     MarginSettings marginSettings,
     AccountManager accountManager,
     IAssetPairDayOffService assetDayOffService,
     IQuoteCacheService quoteCacheService,
     IIdentityGenerator identityGenerator)
 {
     _accountsHistoryRepository = accountsHistoryRepository;
     _ordersHistoryRepository   = ordersHistoryRepository;
     _micrographCacheService    = micrographCacheService;
     _accountAssetsCacheService = accountAssetsCacheService;
     _assetPairsCache           = assetPairsCache;
     _matchingEngine            = matchingEngine;
     _tradingEngine             = tradingEngine;
     _accountsCacheService      = accountsCacheService;
     _operationsLogService      = operationsLogService;
     _consoleWriter             = consoleWriter;
     _ordersCache        = ordersCache;
     _marginSettings     = marginSettings;
     _accountManager     = accountManager;
     _assetDayOffService = assetDayOffService;
     _quoteCacheService  = quoteCacheService;
     _identityGenerator  = identityGenerator;
 }
コード例 #10
0
ファイル: CfdCalculatorService.cs プロジェクト: wildbunny/MT
 public CfdCalculatorService(
     IAssetPairsCache assetPairsCache,
     IQuoteCacheService quoteCacheService)
 {
     _assetPairsCache   = assetPairsCache;
     _quoteCacheService = quoteCacheService;
 }
コード例 #11
0
 public SpecialLiquidationCommandsHandler(
     ITradingEngine tradingEngine,
     IDateService dateService,
     IOrderReader orderReader,
     IChaosKitty chaosKitty,
     IOperationExecutionInfoRepository operationExecutionInfoRepository,
     ILog log,
     MarginTradingSettings marginTradingSettings,
     IAssetPairsCache assetPairsCache,
     IAssetPairDayOffService assetPairDayOffService,
     IExchangeConnectorService exchangeConnectorService,
     IIdentityGenerator identityGenerator,
     IAccountsCacheService accountsCacheService)
 {
     _tradingEngine = tradingEngine;
     _dateService   = dateService;
     _orderReader   = orderReader;
     _chaosKitty    = chaosKitty;
     _operationExecutionInfoRepository = operationExecutionInfoRepository;
     _log = log;
     _marginTradingSettings    = marginTradingSettings;
     _assetPairsCache          = assetPairsCache;
     _assetPairDayOffService   = assetPairDayOffService;
     _exchangeConnectorService = exchangeConnectorService;
     _identityGenerator        = identityGenerator;
     _accountsCacheService     = accountsCacheService;
 }
コード例 #12
0
 public MatchingEngineRouter(
     MatchingEngineRoutesManager routesManager,
     IMatchingEngineRepository matchingEngineRepository,
     IAssetPairsCache assetPairsCache)
 {
     _routesManager            = routesManager;
     _matchingEngineRepository = matchingEngineRepository;
     _assetPairsCache          = assetPairsCache;
 }
コード例 #13
0
 public void Setup()
 {
     RegisterDependencies();
     _validateOrderService = Container.Resolve <IValidateOrderService>();
     _bestPriceConsumer    = Container.Resolve <IEventChannel <BestPriceChangeEventArgs> >();
     _ordersCache          = Container.Resolve <OrdersCache>();
     _assetPairsCache      = Container.Resolve <IAssetPairsCache>();
     _me = new FakeMatchingEngine(1);
 }
コード例 #14
0
 public TradingScheduleController(
     IDateService dateService,
     IScheduleSettingsCacheService scheduleSettingsCacheService,
     IAssetPairDayOffService assetPairDayOffService,
     IAssetPairsCache assetPairsCache)
 {
     _scheduleSettingsCacheService = scheduleSettingsCacheService;
     _assetPairDayOffService       = assetPairDayOffService;
     _assetPairsCache = assetPairsCache;
 }
コード例 #15
0
ファイル: RisksController.cs プロジェクト: wildbunny/MT
 public RisksController(IAssetPairsCache instrumentsCache,
                        IAccountsCacheService accountsCacheService,
                        MarginSettings marginSettings,
                        IMarginTradingAccountHistoryRepository accountHistoryRepository)
 {
     _instrumentsCache         = instrumentsCache;
     _accountsCacheService     = accountsCacheService;
     _marginSettings           = marginSettings;
     _accountHistoryRepository = accountHistoryRepository;
 }
コード例 #16
0
        public PendingMarginInstrumentMigration(
            IAssetPairsCache assetPairsCache,
            OrdersCache orderCache,
            IContextFactory contextFactory)
        {
            _assetPairsCache = assetPairsCache;

            _orderCache = orderCache;

            _contextFactory = contextFactory;
        }
コード例 #17
0
 public NotificationSenderBase(
     IAppNotifications appNotifications,
     IClientAccountService clientAccountService,
     IAssetsCache assetsCache,
     IAssetPairsCache assetPairsCache)
 {
     _appNotifications     = appNotifications;
     _clientAccountService = clientAccountService;
     _assetsCache          = assetsCache;
     _assetPairsCache      = assetPairsCache;
 }
コード例 #18
0
 public FplService(
     ICfdCalculatorService cfdCalculatorService,
     IAssetPairsCache assetPairsCache,
     IAccountsCacheService accountsCacheService,
     ITradingInstrumentsCacheService tradingInstrumentsCache,
     MarginTradingSettings marginTradingSettings)
 {
     _cfdCalculatorService    = cfdCalculatorService;
     _accountsCacheService    = accountsCacheService;
     _tradingInstrumentsCache = tradingInstrumentsCache;
     _marginTradingSettings   = marginTradingSettings;
 }
コード例 #19
0
 public FplService(
     ICfdCalculatorService cfdCalculatorService,
     IAssetPairsCache assetPairsCache,
     IAccountsCacheService accountsCacheService,
     IAccountAssetsCacheService accountAssetsCacheService,
     IAssetsCache assetsCache)
 {
     _cfdCalculatorService      = cfdCalculatorService;
     _assetPairsCache           = assetPairsCache;
     _accountsCacheService      = accountsCacheService;
     _accountAssetsCacheService = accountAssetsCacheService;
     _assetsCache = assetsCache;
 }
コード例 #20
0
 public AssetPairProjection(
     ITradingEngine tradingEngine,
     IAssetPairsCache assetPairsCache,
     IOrderReader orderReader,
     IScheduleSettingsCacheService scheduleSettingsCacheService,
     ILog log)
 {
     _tradingEngine   = tradingEngine;
     _assetPairsCache = assetPairsCache;
     _orderReader     = orderReader;
     _scheduleSettingsCacheService = scheduleSettingsCacheService;
     _log = log;
 }
コード例 #21
0
ファイル: TradingEngine.cs プロジェクト: alpo-8/MT
        public TradingEngine(
            IEventChannel <MarginCallEventArgs> marginCallEventChannel,
            IEventChannel <OrderPlacedEventArgs> orderPlacedEventChannel,
            IEventChannel <OrderExecutedEventArgs> orderClosedEventChannel,
            IEventChannel <OrderCancelledEventArgs> orderCancelledEventChannel,
            IEventChannel <OrderChangedEventArgs> orderChangedEventChannel,
            IEventChannel <OrderExecutionStartedEventArgs> orderExecutionStartedEventChannel,
            IEventChannel <OrderActivatedEventArgs> orderActivatedEventChannel,
            IEventChannel <OrderRejectedEventArgs> orderRejectedEventChannel,
            IValidateOrderService validateOrderService,
            IAccountsCacheService accountsCacheService,
            OrdersCache ordersCache,
            IMatchingEngineRouter meRouter,
            IThreadSwitcher threadSwitcher,
            IAssetPairDayOffService assetPairDayOffService,
            ILog log,
            IDateService dateService,
            ICfdCalculatorService cfdCalculatorService,
            IIdentityGenerator identityGenerator,
            IAssetPairsCache assetPairsCache,
            ICqrsSender cqrsSender,
            IEventChannel <StopOutEventArgs> stopOutEventChannel,
            IQuoteCacheService quoteCacheService,
            MarginTradingSettings marginTradingSettings)
        {
            _marginCallEventChannel           = marginCallEventChannel;
            _orderPlacedEventChannel          = orderPlacedEventChannel;
            _orderExecutedEventChannel        = orderClosedEventChannel;
            _orderCancelledEventChannel       = orderCancelledEventChannel;
            _orderActivatedEventChannel       = orderActivatedEventChannel;
            _orderExecutionStartedEvenChannel = orderExecutionStartedEventChannel;
            _orderChangedEventChannel         = orderChangedEventChannel;
            _orderRejectedEventChannel        = orderRejectedEventChannel;

            _validateOrderService   = validateOrderService;
            _accountsCacheService   = accountsCacheService;
            _ordersCache            = ordersCache;
            _meRouter               = meRouter;
            _threadSwitcher         = threadSwitcher;
            _assetPairDayOffService = assetPairDayOffService;
            _log                   = log;
            _dateService           = dateService;
            _cfdCalculatorService  = cfdCalculatorService;
            _identityGenerator     = identityGenerator;
            _assetPairsCache       = assetPairsCache;
            _cqrsSender            = cqrsSender;
            _stopOutEventChannel   = stopOutEventChannel;
            _quoteCacheService     = quoteCacheService;
            _marginTradingSettings = marginTradingSettings;
        }
コード例 #22
0
 public ScheduleSettingsCacheService(
     ICqrsSender cqrsSender,
     IScheduleSettingsApi scheduleSettingsApi,
     IAssetPairsCache assetPairsCache,
     IDateService dateService,
     ILog log,
     OvernightMarginSettings overnightMarginSettings)
 {
     _cqrsSender          = cqrsSender;
     _scheduleSettingsApi = scheduleSettingsApi;
     _assetPairsCache     = assetPairsCache;
     _dateService         = dateService;
     _log = log;
     _overnightMarginSettings = overnightMarginSettings;
 }
コード例 #23
0
 public EquivalentPricesService(
     IAccountsCacheService accountsCacheService,
     ICfdCalculatorService cfdCalculatorService,
     IQuoteCacheService quoteCacheService,
     IAssetPairsCache assetPairsCache,
     MarginSettings marginSettings,
     ILog log)
 {
     _accountsCacheService = accountsCacheService;
     _cfdCalculatorService = cfdCalculatorService;
     _quoteCacheService    = quoteCacheService;
     _assetPairsCache      = assetPairsCache;
     _marginSettings       = marginSettings;
     _log = log;
 }
コード例 #24
0
 public StpMatchingEngine(string id,
                          ExternalOrderBooksList externalOrderBooksList,
                          IExchangeConnectorService exchangeConnectorService,
                          ILog log,
                          IDateService dateService,
                          IRabbitMqNotifyService rabbitMqNotifyService,
                          IAssetPairsCache assetPairsCache)
 {
     _externalOrderBooksList   = externalOrderBooksList;
     _exchangeConnectorService = exchangeConnectorService;
     _log                   = log;
     _dateService           = dateService;
     _rabbitMqNotifyService = rabbitMqNotifyService;
     _assetPairsCache       = assetPairsCache;
     Id = id;
 }
コード例 #25
0
 public MatchingEngineRoutesManager(
     MatchingEngineRoutesCacheService routesCacheService,
     ITradingRoutesApi routesApi,
     IAssetPairsCache assetPairsCache,
     IAccountsCacheService accountsCacheService,
     //IRiskSystemCommandsLogRepository riskSystemCommandsLogRepository,
     ILog log,
     IConvertService convertService)
 {
     _routesCacheService = routesCacheService;
     _routesApi          = routesApi;
     _assetPairsCache    = assetPairsCache;
     //_riskSystemCommandsLogRepository = riskSystemCommandsLogRepository;
     _log            = log;
     _convertService = convertService;
 }
コード例 #26
0
ファイル: ValidateOrderService.cs プロジェクト: forkme7/MT
 public ValidateOrderService(
     IQuoteCacheService quoteCashService,
     IAccountUpdateService accountUpdateService,
     IAccountsCacheService accountsCacheService,
     IAccountAssetsCacheService accountAssetsCacheService,
     IAssetPairsCache assetPairsCache,
     OrdersCache ordersCache,
     IAssetPairDayOffService assetDayOffService)
 {
     _quoteCashService          = quoteCashService;
     _accountUpdateService      = accountUpdateService;
     _accountsCacheService      = accountsCacheService;
     _accountAssetsCacheService = accountAssetsCacheService;
     _assetPairsCache           = assetPairsCache;
     _ordersCache        = ordersCache;
     _assetDayOffService = assetDayOffService;
 }
コード例 #27
0
 public MatchingEngineRoutesManager(
     MatchingEngineRoutesCacheService routesCacheService,
     IMatchingEngineRoutesRepository repository,
     IAssetPairsCache assetPairsCache,
     ITradingConditionsCacheService tradingConditionsCacheService,
     IAccountsCacheService accountsCacheService,
     IRiskSystemCommandsLogRepository riskSystemCommandsLogRepository,
     ILog log)
 {
     _routesCacheService              = routesCacheService;
     _repository                      = repository;
     _assetPairsCache                 = assetPairsCache;
     _tradingConditionsCacheService   = tradingConditionsCacheService;
     _accountsCacheService            = accountsCacheService;
     _riskSystemCommandsLogRepository = riskSystemCommandsLogRepository;
     _log = log;
 }
コード例 #28
0
 public MarginCallConsumer(IThreadSwitcher threadSwitcher,
                           IAppNotifications appNotifications,
                           IEmailService emailService,
                           IClientAccountService clientAccountService,
                           IMarginTradingOperationsLogService operationsLogService,
                           IRabbitMqNotifyService rabbitMqNotifyService,
                           IDateService dateService,
                           IAssetsCache assetsCache,
                           IAssetPairsCache assetPairsCache)
     : base(appNotifications, clientAccountService, assetsCache, assetPairsCache)
 {
     _threadSwitcher        = threadSwitcher;
     _emailService          = emailService;
     _clientAccountService  = clientAccountService;
     _operationsLogService  = operationsLogService;
     _rabbitMqNotifyService = rabbitMqNotifyService;
     _dateService           = dateService;
 }
コード例 #29
0
 public OrderStateConsumer(IThreadSwitcher threadSwitcher,
                           IClientNotifyService clientNotifyService,
                           IAccountsCacheService accountsCacheService,
                           IAppNotifications appNotifications,
                           IClientAccountService clientAccountService,
                           AccountManager accountManager,
                           IRabbitMqNotifyService rabbitMqNotifyService,
                           IAssetsCache assetsCache,
                           IAssetPairsCache assetPairsCache)
     : base(appNotifications,
            clientAccountService,
            assetsCache,
            assetPairsCache)
 {
     _threadSwitcher        = threadSwitcher;
     _clientNotifyService   = clientNotifyService;
     _accountsCacheService  = accountsCacheService;
     _accountManager        = accountManager;
     _rabbitMqNotifyService = rabbitMqNotifyService;
 }
コード例 #30
0
 public LiquidationSaga(
     IAssetPairsCache assetPairsCache,
     IDateService dateService,
     IChaosKitty chaosKitty,
     IOperationExecutionInfoRepository operationExecutionInfoRepository,
     OrdersCache ordersCache,
     CqrsContextNamesSettings cqrsContextNamesSettings,
     ILog log,
     IAccountsCacheService accountsCacheService,
     IAssetPairDayOffService assetPairDayOffService)
 {
     _assetPairsCache = assetPairsCache;
     _dateService     = dateService;
     _chaosKitty      = chaosKitty;
     _operationExecutionInfoRepository = operationExecutionInfoRepository;
     _ordersCache = ordersCache;
     _cqrsContextNamesSettings = cqrsContextNamesSettings;
     _log = log;
     _accountsCacheService   = accountsCacheService;
     _assetPairDayOffService = assetPairDayOffService;
 }