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; }
public RisksController(IAssetPairsCache instrumentsCache, IAccountsCacheService accountsCacheService, MarginSettings marginSettings, IMarginTradingAccountHistoryRepository accountHistoryRepository) { _instrumentsCache = instrumentsCache; _accountsCacheService = accountsCacheService; _marginSettings = marginSettings; _accountHistoryRepository = accountHistoryRepository; }
public Application(IMarginTradingAccountHistoryRepository accountHistoryRepository, ILog logger, Settings settings, CurrentApplicationInfo applicationInfo, IAccountTransactionsReportsRepository accountTransactionsReportsRepository, ISlackNotificationsSender slackNotificationsSender) : base(logger, slackNotificationsSender, applicationInfo) { _accountHistoryRepository = accountHistoryRepository; _settings = settings; _accountTransactionsReportsRepository = accountTransactionsReportsRepository; }
public AccountHistoryController( IMarginTradingAccountsRepository accountsRepository, IMarginTradingAccountHistoryRepository accountsHistoryRepository, IMarginTradingOrdersHistoryRepository ordersHistoryRepository, IOrdersSnapshotReaderService ordersSnapshotReaderService) { _accountsRepository = accountsRepository; _accountsHistoryRepository = accountsHistoryRepository; _ordersHistoryRepository = ordersHistoryRepository; _ordersSnapshotReaderService = ordersSnapshotReaderService; }
public AccountProfileController( IMarginTradingAccountHistoryRepository accountsHistoryRepository, IMarginTradingOrdersHistoryRepository ordersHistoryRepository, IAccountsCacheService accountsCacheService, OrdersCache ordersCache, MarginSettings settings) { _accountsHistoryRepository = accountsHistoryRepository; _ordersHistoryRepository = ordersHistoryRepository; _accountsCacheService = accountsCacheService; _ordersCache = ordersCache; _settings = settings; }