示例#1
0
        public override List <Candle> GetAllFrom(string database, string dataId, int resolution)
        {
            CandleManager cm = new CandleManager(DB);
            int           id = cm.LoadFromDB(dataId, resolution);

            return(cm.GetCandleList(id, resolution));
        }
示例#2
0
        public override List <Candle> GetAllFrom(int dataId, int resolution)
        {
            CandleManager cm = new CandleManager(DB);

            cm.LoadFromDB(dataId, resolution);
            return(cm.GetCandleList(dataId, resolution));
        }
示例#3
0
 public List <Candle> GetCandleList(int periodLength)
 {
     return(candleManager.GetCandleList(stock.Id, periodLength));
 }