U.S. consumers are the most optimistic about stock prices in the last three years.