コード例 #1
0
        public static bool getStockHolderCount(string stockID, string year, string quarter, out int count)
        {
            count = 0;
            StockHolderData hd = StockDBVisitor.getInstance().getStockHolderData(stockID, year, quarter);

            if (hd == null)
            {
                return(false);
            }

            count = hd.holders_count;
            return(true);
        }
コード例 #2
0
        public static bool getStockHolderChange(string stockID, string year, string quarter, out double chg)
        {
            chg = 0.0;
            StockHolderData hd = StockDBVisitor.getInstance().getStockHolderData(stockID, year, quarter);

            if (hd == null)
            {
                return(false);
            }

            chg = hd.count_chg;
            return(true);
        }