예제 #1
0
 /// <summary>
 /// Creates a QuandlStockQueryService.
 /// </summary>
 /// <param name="quandlCodesProvider">Underlying provider with list of available stock databases.</param>
 public QuandlStockQueryService(QuandlCodesProvider quandlCodesProvider)
 {
     _quandlCodesProvider = quandlCodesProvider;
 }
예제 #2
0
 /// <summary>
 /// Creates a QuandlStockInfoService.
 /// </summary>
 /// <param name="configuration">Configuration with Quandl API parameters.</param>
 /// <param name="quandlCodesProvider">Underlying provider with list of available stock databases.</param>
 public QuandlStockInfoService(IConfiguration configuration, QuandlCodesProvider quandlCodesProvider)
 {
     _quandlApiKey = configuration["QuandlApiKey"];
     _quandlStockValueUrlFormat = configuration["QuandlStockValueUrlFormat"];
     _quandlCodesProvider       = quandlCodesProvider;
 }