public int getMaxProfit(ArrayList<Transaction> transByDate) {
		int maxProfit = 0;

		for (int i = 0; i < transByDate.size(); i++) {
			if (transByDate.get(i).profit > maxProfit)
				maxProfit = transByDate.get(i).profit;
		}
		return maxProfit;
	}