Ejemplo n.º 1
0
 public static BarSeries GetBarSeries(Instrument instrument, DateTime datetime1, DateTime datetime2)
 {
     return(DataManager.GetBarSeries(instrument, datetime1, datetime2, DataManager.defaultBarType, DataManager.defaultBarSize));
 }
Ejemplo n.º 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));
        }
Ejemplo n.º 3
0
 public BarSeries GetBarSeries(DateTime datetime1, DateTime datetime2, BarType barType, long barSize)
 {
     return(DataManager.GetBarSeries(this, datetime1, datetime2, barType, barSize));
 }
Ejemplo n.º 4
0
 public static BarSeries GetBarSeries(Instrument instrument, string suffix, DateTime datetime1, DateTime datetime2)
 {
     return(DataManager.GetBarSeries(instrument.Symbol + SERIES_SEPARATOR + suffix, datetime1, datetime2));
 }
Ejemplo n.º 5
0
 public BarSeries GetBarSeries(DateTime datetime1, DateTime datetime2)
 {
     return(DataManager.GetBarSeries(this, datetime1, datetime2));
 }