Пример #1
0
        public void Add(ASecurity s)
        {
            if (!IsHolding(s.Code))
            {
                //调整各股的时间区间同组合一致
                s.SetDatePeriod(this.TimeSeriesStart, this.TimeSeriesEnd);

                this.SecurityCodes.Add(s.Code);
                this.SecurityHoldings.Add(s);
            }
        }