コード例 #1
0
ファイル: DataUpdateUtils.cs プロジェクト: wanwei/sc2
        private static List <int> GetWaitForUpdateOpenDates_FillUp(List <int> allOpenDates, TradingDayCache currentOpenDateCache)
        {
            List <int> waitForUpdateOpenDates = new List <int>();

            for (int i = 0; i < allOpenDates.Count; i++)
            {
                int openDate = allOpenDates[i];
                if (!currentOpenDateCache.IsTrade(openDate))
                {
                    waitForUpdateOpenDates.Add(openDate);
                }
            }
            return(waitForUpdateOpenDates);
        }