public virtual ITradingTime GetDefaultTradingTime() { List <ITradingTime> tts = CsvUtils_TradingTime.Load(CsvHistoryData_PathUtils.GetDefaultTradingTimePath(GetCsvDataPath())); if (tts == null || tts.Count == 0) { return(null); } return(tts[0]); }
public virtual IList <ITradingTime> GetTradingTime(string code) { return(CsvUtils_TradingTime.Load(CsvHistoryData_PathUtils.GetTradingTimePath(GetCsvDataPath(), code))); }