public BondHistoryService( ICacheProvider <BondHistoryData> cacheProvider, ILogger <BondHistoryService> logger, IHttpClientService httpClientService, BondSourceService bondSourceService, SecurityStaticDataService staticDataService, IOptions <HistoryOptions <Bond> > config) : base(cacheProvider, logger) { _httpClientService = httpClientService; _bondSourceService = bondSourceService; _staticDataService = staticDataService; _config = config.Value; }
public MinuteHistoryService( IHttpClientService getService, SecurityStaticDataService staticDataService, ShareSourceService shareSourceService, BondSourceService bondSourceService, EtfSourceService etfSourceService, CurrencySourceService currencySourceService, ICacheProvider <TimeStampHistoryData> cache, IOptions <MinuteHistoryOptions> conf, ILogger <MinuteHistoryService> logger) { _logger = logger; _getService = getService; _staticDataService = staticDataService; _shareSourceService = shareSourceService; _bondSourceService = bondSourceService; _etfSourceService = etfSourceService; _currencySourceService = currencySourceService; _conf = conf.Value; _cache = cache; }