示例#1
0
 protected List <CandleStickIntervalInfo> GetAllowedCandleSticksIntervals(TickerStrategyBase s)
 {
     if (s == null)
     {
         return(new List <CandleStickIntervalInfo>());
     }
     return(Exchange.Get(s.TickerInfo.Exchange).AllowedCandleStickIntervals);
 }
        public override void Assign(StrategyBase from)
        {
            base.Assign(from);
            TickerStrategyBase st = from as TickerStrategyBase;

            if (st == null)
            {
                return;
            }
            TickerInfo = st.TickerInfo;
        }