public VolatilityCalculator(ICandlesRepository candlesRepository, IVolatilityRepository volatilityRepository, ICachedAssetsService cachedAssetsService, AssetPairSettings[] assetPairsSettings, VolatilityServiceSettings settings, ILogFactory logFactory) { _candlesRepository = candlesRepository; _volatilityRepository = volatilityRepository; _cachedAssetsService = cachedAssetsService; _assetPairsSettings = assetPairsSettings; _settings = settings; _log = logFactory.CreateLog(this); }
public VolatilityService(IVolatilityRepository volatilityRepository) { _volatilityRepository = volatilityRepository; }