/// <summary> /// Downloads historic quotes data. /// </summary> /// <param name="unmanagedIDs">The unmanaged ID</param> /// <param name="fromDate">The startdate of the reviewed period</param> /// <param name="todate">The enddate of the reviewed period</param> /// <param name="interval">The trading period interval</param> /// <returns></returns> /// <remarks></remarks> public YahooManaged.Base.Response <HistQuotesResult> Download(IEnumerable <string> unmanagedIDs, System.DateTime fromDate, System.DateTime toDate, HistQuotesInterval interval) { if (unmanagedIDs == null) { throw new ArgumentNullException("unmanagedID", "The passed ID is empty."); } this.CheckDates(fromDate, toDate); string[] ids = FinanceHelper.CleanIDfromAT(unmanagedIDs); return(this.Download(new HistQuotesDownloadSettings(ids, fromDate, toDate, interval))); }