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; }
public OvernightSwapService( IOvernightSwapCache overnightSwapCache, IAccountAssetsCacheService accountAssetsCacheService, IAccountsCacheService accountsCacheService, ICommissionService commissionService, IOvernightSwapStateRepository overnightSwapStateRepository, IOvernightSwapHistoryRepository overnightSwapHistoryRepository, IOrderReader orderReader, IThreadSwitcher threadSwitcher, IDateService dateService, AccountManager accountManager, MarginSettings marginSettings, ILog log) { _overnightSwapCache = overnightSwapCache; _accountAssetsCacheService = accountAssetsCacheService; _accountsCacheService = accountsCacheService; _commissionService = commissionService; _overnightSwapStateRepository = overnightSwapStateRepository; _overnightSwapHistoryRepository = overnightSwapHistoryRepository; _orderReader = orderReader; _threadSwitcher = threadSwitcher; _dateService = dateService; _accountManager = accountManager; _marginSettings = marginSettings; _log = log; }
public MarginTradingOperationsLogService( IMarginTradingOperationsLogRepository operationsLogRepository, IThreadSwitcher threadSwitcher, ILog log) { _operationsLogRepository = operationsLogRepository; _threadSwitcher = threadSwitcher; _log = log; }
public OperationsLogService( IOperationsLogRepository operationsLogRepository, IThreadSwitcher threadSwitcher, ILog log, bool writeOperationLog) { _operationsLogRepository = operationsLogRepository; _threadSwitcher = threadSwitcher; _log = log; _writeOperationLog = writeOperationLog; }
public SpecialLiquidationService( ICqrsSender cqrsSender, IDateService dateService, IThreadSwitcher threadSwitcher, SpecialLiquidationSettings specialLiquidationSettings, CqrsContextNamesSettings cqrsContextNamesSettings) { _cqrsSender = cqrsSender; _dateService = dateService; _threadSwitcher = threadSwitcher; _specialLiquidationSettings = specialLiquidationSettings; _cqrsContextNamesSettings = cqrsContextNamesSettings; }
public StopOutConsumer(IThreadSwitcher threadSwitcher, IOperationsLogService operationsLogService, IRabbitMqNotifyService rabbitMqNotifyService, IDateService dateService, MarginTradingSettings settings) { _threadSwitcher = threadSwitcher; _operationsLogService = operationsLogService; _rabbitMqNotifyService = rabbitMqNotifyService; _dateService = dateService; _settings = settings; }
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; }
public TradingEngine( IEventChannel <MarginCallEventArgs> marginCallEventChannel, IEventChannel <StopOutEventArgs> stopoutEventChannel, IEventChannel <OrderPlacedEventArgs> orderPlacedEventChannel, IEventChannel <OrderClosedEventArgs> orderClosedEventChannel, IEventChannel <OrderCancelledEventArgs> orderCancelledEventChannel, IEventChannel <OrderLimitsChangedEventArgs> orderLimitsChangesEventChannel, IEventChannel <OrderClosingEventArgs> orderClosingEventChannel, IEventChannel <OrderActivatedEventArgs> orderActivatedEventChannel, IEventChannel <OrderRejectedEventArgs> orderRejectedEventChannel, IValidateOrderService validateOrderService, IQuoteCacheService quoteCashService, IAccountUpdateService accountUpdateService, ICommissionService swapCommissionService, IEquivalentPricesService equivalentPricesService, IAccountsCacheService accountsCacheService, OrdersCache ordersCache, IAccountAssetsCacheService accountAssetsCacheService, IMatchingEngineRouter meRouter, IThreadSwitcher threadSwitcher, IContextFactory contextFactory, IAssetPairDayOffService assetPairDayOffService, ILog log) { _marginCallEventChannel = marginCallEventChannel; _stopoutEventChannel = stopoutEventChannel; _orderPlacedEventChannel = orderPlacedEventChannel; _orderClosedEventChannel = orderClosedEventChannel; _orderCancelledEventChannel = orderCancelledEventChannel; _orderActivatedEventChannel = orderActivatedEventChannel; _orderClosingEventChannel = orderClosingEventChannel; _orderLimitsChangesEventChannel = orderLimitsChangesEventChannel; _orderRejectedEventChannel = orderRejectedEventChannel; _quoteCashService = quoteCashService; _accountUpdateService = accountUpdateService; _swapCommissionService = swapCommissionService; _validateOrderService = validateOrderService; _equivalentPricesService = equivalentPricesService; _accountsCacheService = accountsCacheService; _ordersCache = ordersCache; _accountAssetsCacheService = accountAssetsCacheService; _meRouter = meRouter; _threadSwitcher = threadSwitcher; _contextFactory = contextFactory; _assetPairDayOffService = assetPairDayOffService; _log = log; }
public MarginCallConsumer(IThreadSwitcher threadSwitcher, IEmailService emailService, IClientAccountService clientAccountService, IOperationsLogService operationsLogService, MarginTradingSettings settings, IRabbitMqNotifyService rabbitMqNotifyService, IDateService dateService) { _threadSwitcher = threadSwitcher; _emailService = emailService; _clientAccountService = clientAccountService; _operationsLogService = operationsLogService; _settings = settings; _rabbitMqNotifyService = rabbitMqNotifyService; _dateService = dateService; }
public MarginCallConsumer(IThreadSwitcher threadSwitcher, IAppNotifications appNotifications, IEmailService emailService, IClientAccountService clientAccountService, IMarginTradingOperationsLogService operationsLogService, IRabbitMqNotifyService rabbitMqNotifyService, IDateService dateService, IAssetsCache assetsCache) : base(appNotifications, clientAccountService, assetsCache) { _threadSwitcher = threadSwitcher; _emailService = emailService; _clientAccountService = clientAccountService; _operationsLogService = operationsLogService; _rabbitMqNotifyService = rabbitMqNotifyService; _dateService = dateService; }
public OrderStateConsumer(IThreadSwitcher threadSwitcher, IClientNotifyService clientNotifyService, IAccountsCacheService accountsCacheService, IAppNotifications appNotifications, IClientAccountService clientAccountService, AccountManager accountManager, IRabbitMqNotifyService rabbitMqNotifyService, IAssetsCache assetsCache) : base(appNotifications, clientAccountService, assetsCache) { _threadSwitcher = threadSwitcher; _clientNotifyService = clientNotifyService; _accountsCacheService = accountsCacheService; _accountManager = accountManager; _rabbitMqNotifyService = rabbitMqNotifyService; }
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; }