private Date getMaxDate(Vector<StockEntry> data) {
		Date result = null;
        for (StockEntry entry : data) {
        	if (result == null) {
        		result = entry.getDate();
        	} else if (entry.getDate().after(result)) {
        		result = entry.getDate();
        	}
        }
        
        return result;
	}