void InsertData(StockDb stock)
        {
            StockTx stockWeb = U_Stock.GetStock(id.ToString());

            if (stockWeb == null)
            {
                Debug.Log("查不到该编号");
                return;
            }
            if (count < 0)
            {
                Debug.Log("并没有持有,无法为负数");
                return;
            }
            stock.cbPrice = price;
            stock.name    = stockWeb.name;
            stock.count   = count;
            stock.cb      = count * price;
            stock.cbK     = stock.cb / 1000f;
            sumCB        += stock.cb;
            stock.ratio   = stock.cb / sumCB * 100;
            stockS.Add(stock);
            OpenSql();
            sql.Insert(
                holdStocks,
                new string[] { "id", "name", "cbPrice", "count", "cb", "cbK", "ratio" },
                new string[] {
                stock.id.ToString(),
                stock.name,
                stock.cbPrice.ToStringF3(),
                stock.count.ToString(),
                stock.cb.ToStringF2(),
                stock.cbK.ToStringF2(),
                stock.ratio.ToStringF2()
            }
                );
            UpdateEveryRatio();
            CloseSql();
            Debug.Log("买入:" + stock.name + "\tprice" + price + "\tcount" + count);
        }
 public static void DayYK()
 {
     U_Stock.Debug_DayYK();
     //Debug.Log("单日涨跌");
 }
 public static void SumYK()
 {
     U_Stock.Debug_SumYK();
 }
 public static void SZ()
 {
     U_Stock.Debug_SZ();
     //Debug.Log("市值");
 }