예제 #1
0
		public QuoteArray GetQuoteArray(string series, DateTime datetime1, DateTime datetime2)
		{
			QuoteArray quotes = new QuoteArray();
			if (this.file.Series[series] != null)
			{
				foreach (Quote quote in this.file.Series[series].GetArray(datetime1, datetime2))
					quotes.Add(quote);
			}
			return quotes;
		}
예제 #2
0
 public QuoteArray this [Instrument instrument]
 {
     get
     {
         QuoteArray quoteArray = this.arrayList[instrument] as QuoteArray;
         if (quoteArray == null)
         {
             quoteArray = new QuoteArray();
             this.arrayList.Add(instrument, quoteArray);
         }
         return quoteArray;
     }
 }
예제 #3
0
파일: DataManager.cs 프로젝트: heber/FreeOQ
 public static QuoteArray GetHistoricalQuotes(IHistoricalDataProvider provider, Instrument instrument, DateTime datetime1, DateTime datetime2)
 {
     ArrayList arrayList = DataManager.r6ZT8iFUv(provider, instrument, DataManager.EDataSeries.Quote, datetime1, datetime2, -1L);
     QuoteArray quoteArray = new QuoteArray();
     foreach (Quote quote in arrayList)
         quoteArray.Add(quote);
     return quoteArray;
 }
예제 #4
0
 public QuoteArrayEventArgs(QuoteArray array) : base()
 {
     this.QuoteArray = array;
 }
예제 #5
0
파일: QuoteSeries.cs 프로젝트: heber/FreeOQ
 internal QuoteSeriesEnumerator(QuoteArray series)
 {
   this.series = series;
   this.enumerator = series.GetEnumerator();
 }
예제 #6
0
파일: QuoteSeries.cs 프로젝트: heber/FreeOQ
 public QuoteSeries()
 {
   this.series = new QuoteArray();
 }
예제 #7
0
파일: QuoteSeries.cs 프로젝트: heber/FreeOQ
 internal QuoteSeries(QuoteArray series)
 {
   this.series = series;
 }
예제 #8
0
		public QuoteArrayEventArgs(QuoteArray array) : base()
		{
			this.QuoteArray = array;
		}