public AccountUpdateService( IFplService fplService, ITradingConditionsCacheService tradingConditionsCache, IAccountsCacheService accountsCacheService, OrdersCache ordersCache, IAssetsCache assetsCache, IAccountMarginFreezingRepository accountMarginFreezingRepository, IAccountMarginUnconfirmedRepository accountMarginUnconfirmedRepository, ILog log, MarginTradingSettings marginTradingSettings, ICfdCalculatorService cfdCalculatorService, IQuoteCacheService quoteCacheService) { _fplService = fplService; _tradingConditionsCache = tradingConditionsCache; _accountsCacheService = accountsCacheService; _ordersCache = ordersCache; _assetsCache = assetsCache; _accountMarginFreezingRepository = accountMarginFreezingRepository; _accountMarginUnconfirmedRepository = accountMarginUnconfirmedRepository; _log = log; _marginTradingSettings = marginTradingSettings; _cfdCalculatorService = cfdCalculatorService; _quoteCacheService = quoteCacheService; }
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; }
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 AccountUpdateService( IFplService fplService, IAccountGroupCacheService accountGroupCacheService, IAccountsCacheService accountsCacheService, OrdersCache ordersCache, IAssetsCache assetsCache) { _fplService = fplService; _accountGroupCacheService = accountGroupCacheService; _accountsCacheService = accountsCacheService; _ordersCache = ordersCache; _assetsCache = assetsCache; }