Wall Street closed a bumpy week on a high note Friday.

The Dow Jones Industrial Average rose 423.31 points, or 0.83%, to 51,654.95. The S&P 500 gained 0.59% to about 7,811, and the Nasdaq Composite added 0.64% to 27,366.17, Reuters and Sharecast reported. All three logged gains for the week. The small-company Russell 2000 index, however, ended lower than the Friday before.

It was a mixed day under the surface. Crude oil fell early after President Donald Trump said the United States would not attack Iran before the midterm elections, then both Brent and U.S. crude settled up 0.4%, Reuters said. "With conflicting headlines coming out of the White House and parties in the Middle East, there's just no edge there," Ross Mayfield of Baird told Reuters. Stocks hit their highs after Trump said Russia would supply diesel, Sharecast reported.

Telecom stocks were the big losers. AT&T, Verizon and T-Mobile fell between about 9% and 13% after SpaceX agreed to buy a nationwide set of wireless airwaves. Apple slid 1.1% on a report that it cut orders for iPhone 18 Pro parts. Health insurer Humana jumped about 11.6% on strong Medicare ratings.

Shoppers are gloomy. The University of Michigan's early October reading of consumer sentiment slipped to 46.3, Sharecast reported.

Next week brings a busy calendar. Big banks, including JPMorgan Chase, Goldman Sachs, Citigroup, Wells Fargo, Bank of America and Morgan Stanley, report third-quarter results, CNBC reported. Analysts expect S&P 500 companies to show earnings growth of about 30.6% from a year ago, according to LSEG data cited by Reuters.

The September consumer price index, a key inflation gauge, is due Oct. 14, with producer prices and retail sales on Oct. 15, CNBC reported. Those numbers could shape the Federal Reserve's next interest-rate decision.

What we know: Friday's closing levels and next week's schedule.
What we don't: whether inflation data will cool or reheat rate worries.