def get_sma(data, length):
	""" Returns the simple moving average over a period of LENGTH """
	if len(data) < length:
		return "Not enough Data"

	subset = data[-length:]
	return sum(subset) / len(subset)