(Updates with market moves at the end of the day.)
US equities advanced Friday to lock in a weekly gain for Wall Street as Space Exploration Technologies' (SPCX) blockbuster debut and a potential Middle East peace deal buoyed sentiment.
The Dow Jones Industrial Average closed 0.7% higher at 51,202.3, while the S&P 500 rose 0.4% to 7,431.4. The Nasdaq Composite added 0.3% to 25,888.8. Barring healthcare, all sectors ended in the green, led by materials.
SpaceX -- Elon Musk's rocket and satellite company -- ended its first trading day 19% above its initial public offering price of $135. The rally pushed the company's market capitalization above $2 trillion, placing it among the 10 most valuable public companies in the US, even more valuable than Musk's electric vehicle maker, Tesla (TSLA).
The three major Wall Street indexes posted a weekly gain of 0.7% each, rebounding after last week's declines.
"It was a dizzying week in financial markets," Sal Guatieri, senior economist at BMO Capital Markets, said in a report. "After closing above 7,600 for the first time ever on June 2, the S&P 500 was headed for a second weekly decline, until Thursday afternoon. That's when President (Donald) Trump called off plans to strike Iran "very hard" as a potential peace deal emerged, with hopes of both sides signing off in Geneva this weekend."
"Investor spirits were also stoked by the world's largest initial public offering, SpaceX, which blasted off on Friday," Guatieri said.
West Texas Intermediate crude oil was down 3.9% at $84.30 a barrel in Friday late-afternoon trade, while Brent fell 4% to $86.79. The benchmarks were headed for weekly falls after last week's gains.
The US and Iran are edging closer to an interim agreement to reopen the Strait of Hormuz, Bloomberg News reported Friday, citing senior officials. The agreement would extend the existing ceasefire by around two months and open further negotiations over Iran's nuclear program, according to the report.
Pakistani Prime Minister Shehbaz Sharif said Friday that "final" text of a peace deal has been reached.
"Pakistan is now working closely with both sides to finalize the next steps," Sharif said in a social media post Friday. "Peace has never been this close as it is now."
US Treasury yields were higher, with the 10-year rate last up 1.5 basis points at 4.49% and the two-year rate rising 1.9 basis points to 4.09%.
In economic news, US consumer sentiment rebounded in June as gasoline prices eased, while the inflation outlook dropped, the University of Michigan's latest survey showed.
"Sentiment and spending have become disconnected," Oxford Economics said in a note. "Still, higher gas prices will take a bite out of consumers' real disposable incomes, forcing them to reel in spending."
In other company news, Adobe (ADBE) shares fell 6.8%, the second-steepest drop on the S&P 500. The software maker reported solid quarterly results that were overshadowed by the departure of its finance chief and lingering questions about the company's growth trajectory, RBC Capital Markets said in a note.
Lennar (LEN) dropped 4.9%, among the worst performers on the S&P 500, as the homebuilder issued a downbeat fiscal third-quarter home delivery outlook.
Gold was last up 2.9% at $4,231,10 per troy ounce, while silver jumped 6.1% to $67.90 per ounce.



