public AccountManager(AccountsCacheService accountsCacheService, IMarginTradingAccountsRepository repository, IConsole console, MarginSettings marginSettings, IRabbitMqNotifyService rabbitMqNotifyService, IAccountGroupCacheService accountGroupCacheService, IClientNotifyService clientNotifyService, IClientAccountClient clientAccountClient, IMarginTradingAccountsRepository accountsRepository, ITradingConditionsCacheService tradingConditionsCacheService, ILog log, OrdersCache ordersCache, IEventChannel <AccountBalanceChangedEventArgs> acountBalanceChangedEventChannel, ITradingEngine tradingEngine) : base(nameof(AccountManager), 60000, log) { _accountsCacheService = accountsCacheService; _clientAccountClient = clientAccountClient; _repository = repository; _console = console; _marginSettings = marginSettings; _rabbitMqNotifyService = rabbitMqNotifyService; _accountGroupCacheService = accountGroupCacheService; _accountsRepository = accountsRepository; _tradingConditionsCacheService = tradingConditionsCacheService; _log = log; _clientNotifyService = clientNotifyService; _ordersCache = ordersCache; _acountBalanceChangedEventChannel = acountBalanceChangedEventChannel; _tradingEngine = tradingEngine; }
public AccountGroupManager( AccountGroupCacheService accountGroupCacheService, IAccountGroupRepository accountGroupRepository, MarginSettings settings, IClientNotifyService clientNotifyService) { _accountGroupCacheService = accountGroupCacheService; _repository = accountGroupRepository; _settings = settings; _clientNotifyService = clientNotifyService; }
public TradingConditionsManager( ITradingConditionRepository repository, TradingConditionsCacheService tradingConditionsCacheService, IConsole console, AccountGroupManager accountGroupManager, IClientNotifyService clientNotifyService) { _repository = repository; _tradingConditionsCacheService = tradingConditionsCacheService; _console = console; _accountGroupManager = accountGroupManager; _clientNotifyService = clientNotifyService; }
public AccountAssetsManager( AccountAssetsCacheService accountAssetsCacheService, IAccountAssetPairsRepository accountAssetPairsRepository, MarginSettings settings, IClientNotifyService clientNotifyService, IOrderReader orderReader) { _accountAssetsCacheService = accountAssetsCacheService; _pairsRepository = accountAssetPairsRepository; _settings = settings; _clientNotifyService = clientNotifyService; _orderReader = orderReader; }
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 StopOutConsumer(IThreadSwitcher threadSwitcher, IAppNotifications appNotifications, IClientAccountService clientAccountService, IClientNotifyService notifyService, IEmailService emailService, IMarginTradingOperationsLogService operationsLogService, IRabbitMqNotifyService rabbitMqNotifyService, IDateService dateService, IAssetsCache assetsCache) : base(appNotifications, clientAccountService, assetsCache) { _threadSwitcher = threadSwitcher; _clientAccountService = clientAccountService; _notifyService = notifyService; _emailService = emailService; _operationsLogService = operationsLogService; _rabbitMqNotifyService = rabbitMqNotifyService; _dateService = dateService; _assetsCache = assetsCache; }