public static Stock getStockByTickername(String tickername,
			ArrayList<Stock> stocks) {
		for (Stock s : stocks) {
			if (s.getTickername().equalsIgnoreCase(tickername)) {
				return s;
			}
		}
		return null;
	}