Пример #1
0
        public double GetValue()
        {
            var dataProvider = new IndicatorDataService();
            var priceData = dataProvider.GetPriceDate(Context.StockId, Cycle, ReferOffset, Context.EndDate);

            // todo:这里要确认一下,数据那边成交量的单位是不是手,1手=100股
            return Convert.ToInt32(priceData.Amount*100);
        }
 public double GetValue()
 {
     var dataProvider = new IndicatorDataService();
     var priceData = dataProvider.GetPriceDate(Context.StockId, Cycle, ReferOffset, Context.EndDate);
     return priceData.Low;
 }