Finds max price for given year or month stock prices