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)); }
public override List <Candle> GetAllFrom(int dataId, int resolution) { CandleManager cm = new CandleManager(DB); cm.LoadFromDB(dataId, resolution); return(cm.GetCandleList(dataId, resolution)); }
public List <Candle> GetCandleList(int periodLength) { return(candleManager.GetCandleList(stock.Id, periodLength)); }