By Stan Choe, Damian J. Troise, and Alex Veiga

Updated 4:41 pm ET

Markets worldwide rallied on rising hopes for a COVID-19 vaccine Wednesday, and the S&P 500 climbed back to where it was a few days after it set its record early this year.

Investors see a vaccine as the best way for the economy and human life to get back to normal, and researchers said late Tuesday that one developed by the National Institutes of Health and Moderna revved up people's immune systems in early testing, as hoped. The S&P 500 rose 0.9 percent to pull within 4.7 percent of its all-time high set in February.

The Dow Jones Industrial Average climbed 227.51 points, or 0.9 percent, to 26,870.10, and the Nasdaq composite gained 61.91, or 0.6 percent, to 10,550.49. During the morning, the S&P 500 touched its highest level since Feb. 25, and it ended the day at 3,226.56, up 29.04.

Several things helped lift the market, including stronger-than-expected reports on the economy and on corporate profits from Goldman Sachs and others. But the vaccine hopes were at the center of the rise, which meant the market's leaderboard was dominated by companies that would benefit most from a return to normal life. They included cruise-ship operators, airlines, retailers and hotel chains.

Stocks of smaller companies also leaped much more than the rest of the market, an indication of rising expectations for the economy. The Russell 2000 index of small-cap stocks jumped 3.5 percent, a turnaround from earlier months when big, tech-oriented companies were carrying the market.

"Investors are gaining more confidence of the longer-term direction of the market," said Sam Stovall, chief investment strategist at CFRA. "It's not just the behemoth tech stocks that are likely to lead share prices higher, but that mid- and small-cap stocks will also benefit, not only from an economic recovery, but also from very low interest rates."

Winners of the stay-at-home economy created by quarantines and lockdowns, meanwhile, lagged behind. Clorox, Netflix, and Amazon all fell.

Wednesday's lift for markets, though, came only after another day of choppy trading. The S&P 500 shot to a quick 1.3 percent gain shortly after trading began, only to give up nearly all of it before swinging a couple more times.

It's the latest bout of erratic trading for the market, which has been largely churning in place for weeks. The S&P 500 is almost exactly where it was on June 8. Often, it's swung sharply within a single day as hopes for a budding economic recovery collide with continuing increases in coronavirus counts.

On Wednesday, as Wall Street was losing its stride, Florida announced another daily death toll of more than 100 and Oklahoma's governor said he tested positive for the coronavirus.

"People should be thinking about a balance of optimism and realism," said Nela Richardson, investment strategist at Edward Jones.

She said there is a "long climb" to go for the economy's reopening and pointed to other risks for the market, including U.S. tensions with China.

"We think it's going to be a pretty bumpy road ahead," she said.

Worries also remain high that the stock market has gone overboard in its rally: It has taken less than four months for the S&P 500 to almost return to its record after being down nearly 34 percent. But it could take years for the economy and corporate profits to get back to where they were before the pandemic struck.

Markets nevertheless climbed Wednesday, bolstered by the optimism about a possible vaccine and encouraging reports on the economy and corporate earnings.

The nation's industrial production improved more in June than economists expected. So did manufacturing in New York state earlier this month.

Goldman Sachs rose 1.4 percent after it reported much stronger results for the latest quarter than analysts expected. Financial stocks, in general, did well, with those in the S&P 500 up 1.9 percent.

Other areas of the market where profits are closely tied to the strength of the economy were also particularly strong. Industrial stocks rose 2.6 percent for the biggest gain among the 11 sectors that make up the S&P 500, and energy producers gained 2 percent.

Royal Caribbean Cruises surged 21.2 percent to lead a group of stocks that stand to gain if shoppers and travelers get back to life as it was before the pandemic. American Airlines rose 16.2 percent, Gap jumped 12.7 percent Live Nation Entertainment rose 11.7 percent and Hilton Worldwide added 10.1 percent.

The yield on the 10-year Treasury rose to 0.63 percent from 0.61 percent late Tuesday. It tends to move with investors' expectations for the economy and inflation.

In Europe, Germany's DAX returned 1.8 percent, while the CAC 40 in Paris advanced 2 percent. Britain's FTSE 100 picked up 1.8 percent.

In Asia, Tokyo's Nikkei 225 advanced 1.6 percent after the Bank of Japan kept its ultra-easy monetary stance unchanged. It forecast that the economy would improve later in the year, assuming there is no major "second wave" of outbreaks of the new coronavirus.

South Korea's Kospi rose 0.8 percent, and Hong Kong's Hang Seng was nearly unchanged.

Stocks in Shanghai slipped 1.6 percent after President Donald Trump signed a bill and an executive order that he says will hold China accountable for its oppressive actions against the people of Hong Kong.

The legislation and order are part of an escalating diplomatic offensive against China that is adding to chronic tensions over trade and other issues.

Benchmark U.S. crude oil rose 91 cents to settle at $41.20 per barrel. Brent oil, the international standard, picked up 89 cents to settle at $43.79 per barrel.

___

AP Business Writer Elaine Kurtenbach contributed.

Share:
More In Business
Poll: More Americans think companies benefit from legal immigration
A new poll finds U.S. adults are more likely than they were a year ago to think immigrants in the country legally benefit the economy. That comes as President Donald Trump's administration imposes new restrictions targeting legal pathways into the country. The Associated Press-NORC Center for Public Affairs Research survey finds Americans are more likely than they were in March 2024 to say it’s a “major benefit” that people who come to the U.S. legally contribute to the economy and help American companies get the expertise of skilled workers. At the same time, perceptions of illegal immigration haven’t shifted meaningfully. Americans still see fewer benefits from people who come to the U.S. illegally.
Tylenol maker rebounds a day after unfounded claims about its safety
Shares of Tylenol maker Kenvue are bouncing back sharply before the opening bell a day after President Donald Trump promoted unproven and in some cases discredited ties between Tylenol, vaccines and autism. Trump told pregnant women not to use the painkiller around a dozen times during the White House news conference Monday. The drugmaker tumbled 7.5%. Shares have regained most of those losses early Tuesday in premarket trading.
Load More