Esempio n. 1
0
 public AlphaVantageQuoteService(ILogger <AlphaVantageQuoteService> logger, ITradingDataService tradingDataService,
                                 IHttpClientFactory httpClientFactory, int?delay)
 {
     this.logger             = logger;
     this.tradingDataService = tradingDataService;
     this.httpClientFactory  = httpClientFactory;
     this.delay = delay;
 }
 public CurrencyRatesDownloadService(ITradingDataService tradingDataService,
                                     ICurrencyRateService currencyRateService,
                                     IHttpClientFactory httpClientFactory, int?delay)
 {
     this.tradingDataService  = tradingDataService;
     this.currencyRateService = currencyRateService;
     this.httpClientFactory   = httpClientFactory;
     this.delay = delay;
 }
Esempio n. 3
0
 public EndOfDayPriceDownloadService(ILogger <EndOfDayPriceDownloadService> logger, ITradingDataService tradingDataService,
                                     IEndOfDayPriceRepository endOfDayRepository, IListingService listingService, IHttpClientFactory httpClientFactory, int?delay)
 {
     this.logger             = logger;
     this.tradingDataService = tradingDataService;
     this.endOfDayRepository = endOfDayRepository;
     this.listingService     = listingService;
     this.httpClientFactory  = httpClientFactory;
     this.delay = delay;
 }