private StrategyResult BuildStrategyResult()
        {
            StrategyResult strategyResult = new StrategyResult();
            int            startDate      = this.StrategyExecutorInfo.CodePeriod.StartDate;
            int            endDate        = this.StrategyExecutorInfo.CodePeriod.EndDate;

            strategyResult.Name           = GetResultName(startDate, endDate);
            strategyResult.StartDate      = startDate;
            strategyResult.EndDate        = endDate;
            strategyResult.ReferedPeriods = this.ReferedPeriods;
            strategyResult.ForwardPeriod  = this.ForwardPeriod;
            strategyResult.Parameters     = Strategy.Parameters;
            return(strategyResult);
        }
        private void BuildStrategyResult()
        {
            StrategyResult strategyResult = new StrategyResult();

            strategyResult.Name = GetResultName();
            strategyResult.CodePeriods.Add(this.CodePeriod);
            strategyResult.StartDate                  = dataPackage.StartDate;
            strategyResult.EndDate                    = dataPackage.EndDate;
            strategyResult.ReferedPeriods             = this.ReferedPeriods;
            strategyResult.ForwardPeriod              = this.ForwardPeriod;
            strategyResult.Parameters                 = Strategy.Parameters;
            strategyResult.StrategyQueryResultManager = strategyHelper.QueryResultManager;

            //绘图暂时不处理,绘图需要特别处理,不是一个container能解决的
            StrategyResult_CodePeriod strategyResult_CodePeriod = new StrategyResult_CodePeriod(CodePeriod, ForwardPeriod, ReferedPeriods, StrategyHelper.Drawer, StrategyHelper.Trader);

            strategyResult.AddStrategyResult_Code(strategyResult_CodePeriod);
            this.strategyResult = strategyResult;
        }