Пример #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));
 }