private static String[] getStockList() throws Exception {
		String stockFileContent = FileUtil.loadFile(STOCK_LIST_FILE_PATH);
		String stockID;
		ArrayList<String> StockListArray = new ArrayList();

		String[] stockGroup = new String[THREAD_COUNT];

		int stockNum = 0;

		Pattern pattern = Pattern.compile("\\d{6}");
		Matcher matcher = pattern.matcher(stockFileContent);
		while (matcher.find()) {
			stockID = matcher.group();
			StockListArray.add(stockID);
		}

		stockNum = StockListArray.size();
		System.out.println(stockNum+" stocks in all!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
		int groupSize = stockNum / THREAD_COUNT;

		for (int i = 0; i < THREAD_COUNT - 1; i++) {
			StringBuffer stockSB = new StringBuffer();
			for (int j = groupSize * i; j < groupSize * (i + 1); j++) {
				stockSB.append(StockListArray.get(j) + " ");
			}
			stockGroup[i] = stockSB.toString();
		}

		// build last group
		StringBuffer stockSB = new StringBuffer();
		for (int i = groupSize * (THREAD_COUNT - 1); i < stockNum; i++) {

			stockSB.append(StockListArray.get(i) + " ");

		}
		stockGroup[THREAD_COUNT - 1] = stockSB.toString();

		return stockGroup;
	}