The week on Wall Street ended on a sunny note Friday, with broad-based benchmarks posting modest gains as the third quarter came to a close. Market participants continued to react positively to Thursday’s news that U.S. gross domestic product was higher by 3.1% in the second quarter, and investors seemed content to close another favorable quarter in which the S&P 500 picked up 4%, bringing its year-to-date returns to 12.5%. Some good news from certain individual stocks also added to the overall positive mood among investors.