/// <summary>
 /// Initializes a new instance of the <see cref="TiingoService"/> class.
 /// </summary>
 /// <param name="configuration">IConfiguration</param>
 public TiingoService(IConfiguration configuration)
 {
     this.settings = new TiingoSettings(configuration);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TiingoService"/> class.
 /// </summary>
 /// <param name="settings">Authorization token to access service.</param>
 public TiingoService(TiingoSettings settings)
 {
     this.settings = settings ?? throw new NullReferenceException("settings must be set.");
 }