Oil prices are down, and stocks are up, though such moves have been quick to change since the war in Iran began.
The S&P 500 dropped 1.6% after a report showed U.S. employers cut more jobs last month than they created.
The Dow lost as many as 1,160 points Thursday before finishing the day with a drop of 784, or 1.6%.
Chip companies helped drive the gains on hopes for more big spending by Amazon and other customers building out their AI offerings.
Some reports on the U.S. economy helped bolster hopes that it can manage to avoid a recession.
Friday's data raised questions about how much the Federal Reserve will cut its main interest rate by at its meeting later this month.
The Dow Jones Industrial Average climbed 0.8%, and the Nasdaq composite added 1%.
Worries over the economy are front and center after a series of disappointing reports, including a weaker-than-expected jobs report on Friday.
U.S. stocks rallied to records on hopes that inflation is heading back in the right direction.