public RunNoticeClass InParamsCheck(StrategyInClass Input)
        {
            RunNoticeClass ret = new RunNoticeClass();

            if (InParam == null)
            {
                ret.Msg = "输入参数对象不能为空!";
                return(ret);
            }
            if ((InParam.SecsPool == null || InParam.SecsPool.Count == 0) && (InParam.SecIndex == null || InParam.SecIndex.Trim().Length == 0))
            {
                ret.Msg = "备选池和指数不能同时为空!";
                return(ret);
            }
            return(ret);
        }
Exemple #2
0
 public override SecurityProcessClass BalanceSelectSecurity(StrategyInClass Input)
 {
     throw new NotImplementedException();
 }
Exemple #3
0
        public override SecurityProcessClass ReverseSelectSecurity(StrategyInClass Input)
        {
            MutliCycleIndustryStrategyInParams InParam = null;

            return(null);
        }
 public abstract SecurityProcessClass ReverseSelectSecurity(StrategyInClass Input);
 public abstract SecurityProcessClass BreachSelectSecurity(StrategyInClass Input);
 public abstract SecurityProcessClass BalanceSelectSecurity(StrategyInClass Input);