private bool ImportMonth(data.stock stock)
        {
            try
            {
                IList <data.PriceInfo> spmonth = sync.GetPriceByMonth(stock);

                var list = spmonth.OrderBy(p => p.date).ToList();

                for (int i = 1; i < list.Count(); i++)
                {
                    list[i].yestclose = list[i - 1].price;
                    list[i].updown    = list[i].price - list[i].yestclose;
                    list[i].percent   = list[i].updown / list[i].yestclose;
                }
                stockService.AddPriceByMonth <data.data_stock_month_latest>(spmonth, false);
                this.Log().Info("月线:" + stock.code + stock.name);
                return(true);
            }
            catch (Exception ex)
            {
                stockService.AddPriceSyncLog(new data.pricesynclog
                {
                    batch       = this.batch.ToString(),
                    stock_code  = stock.code,
                    description = ex.GetBaseException().Message,
                    creatime    = DateTime.Now,
                    type        = "month"
                });
                return(false);
            }
        }