Just 25 percent of Gen X, those born between 1965 and 1980, think it’s a good time to invest in the market