예제 #1
0
 public static BarSeries GetBarSeries(Instrument instrument, DateTime datetime1, DateTime datetime2)
 {
     return(DataManager.GetBarSeries(instrument, datetime1, datetime2, DataManager.defaultBarType, DataManager.defaultBarSize));
 }
예제 #2
0
        public static BarSeries GetBarSeries(Instrument instrument, DateTime datetime1, DateTime datetime2, BarType barType, long barSize)
        {
            string suffix = string.Format("{0}{1}{2}{3}{4}", SUFFIX_BAR, SERIES_SEPARATOR, barType, SERIES_SEPARATOR, barSize);

            return(DataManager.GetBarSeries(instrument, suffix, datetime1, datetime2));
        }
예제 #3
0
 public BarSeries GetBarSeries(DateTime datetime1, DateTime datetime2, BarType barType, long barSize)
 {
     return(DataManager.GetBarSeries(this, datetime1, datetime2, barType, barSize));
 }
예제 #4
0
 public static BarSeries GetBarSeries(Instrument instrument, string suffix, DateTime datetime1, DateTime datetime2)
 {
     return(DataManager.GetBarSeries(instrument.Symbol + SERIES_SEPARATOR + suffix, datetime1, datetime2));
 }
예제 #5
0
 public BarSeries GetBarSeries(DateTime datetime1, DateTime datetime2)
 {
     return(DataManager.GetBarSeries(this, datetime1, datetime2));
 }