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 void LoadFromDB(int periodLength) { candleManager.LoadFromDB(stock.Id, periodLength); }