Ejemplo n.º 1
0
        private List <HistoricalQuoteDetails> GetExternalDataForRange(DateTime Start, DateTime End, int Interval)
        {
            //fix the dates, since google keeps sending to much
            GoogleHistoricalDataInterpreter g = new GoogleHistoricalDataInterpreter();

            return(g.GetHistoricalDataWithInterval(m_oH.Instrument, m_oH.Exchange, Start, Interval).HistoricalQuoteDetails
                   .Where(h => h.Date >= Start && h.Date <= End)
                   .OrderBy(x => x.Date)
                   .ToList());
        }