By Caitlin Ostroff, Ben Eisen and Chong Koh Ping

U.S. stocks flirted with record levels after progress on a Covid-19 vaccine and Democrat Joe Biden's electoral victory ushered in a sea change in financial markets, reordering winners and losers.

Major indexes opened sharply higher, with the Dow Jones Industrial Average and S&P 500 setting intraday records in the session's early moments. The blue-chip index climbed within about 70 points of the 30000 mark before paring gains, and the rally lost some steam in the final 15 minutes before the closing bell.

The Dow ended the day up 834.57 points, or 2.9%, at 29157.97, its highest close since February. The S&P 500 rose 41.06 points, or 1.2%, to 3550.50, it second-highest close in history.

Markets rallied after a vaccine developed by Pfizer and partner BioNTech proved better than expected at protecting people from Covid-19 in a pivotal study, a milestone in the hunt for shots that can stop the global pandemic.

The vaccine jolted markets, at least temporarily, reviving the fortunes of the pandemic losers, such as travel companies, retailers and banks, whose stocks rise and fall with the outlook for the economy.

Shares of Carnival surged $5.43, or 39%, to $19.25. American Airlines Group gained $1.74, or 15%, to $13.20. Kohl's rose $4.30, or 20%, to $25.84. Bank of America climbed $3.45, or 14%, to $27.76. All four stocks are still down at least 20% for the year.

Meanwhile, the pandemic's winners, such as big tech companies, lagged behind the rest of the market, a reversal of fortunes that some investors said was among the most stark they had seen. The tech-heavy Nasdaq Composite, which climbed 33% this year through Friday, fell 181.45 points, or 1.5%, to 11713.78.

Netflix slumped $44.23, or 8.6%, to $470.50. Clorox declined $23.17, or 11%, to $194.91. Zoom Video Communications dropped $86.87, or 17%, to $413.24. Peloton Interactive fell $25.45, or 20%, to $100.01. Despite Monday's declines, those stocks are still up at least 45% in 2020.

The positive, though incomplete, results bring the vaccine a big step closer to being cleared for widespread use. Pfizer said it is on track to ask health regulators for permission to sell the shot before the end of this month, if pending data indicate the vaccine is safe. Pfizer shares jumped $2.80, or 7.7%, to $39.20.

The news rippled through other markets as well. The yield on the 10-year Treasury note jumped to 0.957%, from 0.821% Friday. U.S. crude oil futures for December delivery jumped 8.5% to $40.29 a barrel.

Investors also backed away from safety trades. The Japanese yen slid 1.9% against the U.S. dollar to 105.35. Gold fell 5% to $1,853.20 a troy ounce, its biggest one-day percentage fall in seven years. The yield on the 10-year German bund rose the most since March, advancing to minus 0.51%.

The Russell 2000 index of small-cap stocks jumped 3.7%. Earlier, futures tied to the index rose 7%, hitting CME Group's limit up, which prevents them from rising further.

The moves suggested individuals, hedge funds and other investors were rapidly recalibrating their forecasts for faster economic growth and higher inflation based on the vaccine news, as a successful vaccine has the potential to restart swaths of the economy hobbled by the pandemic.

"There are a lot of things that are benefiting from people willing to take risk and rotate into the unloved, so to speak," said Brian Andrew, chief investment officer at Johnson Financial Group. He said his firm has increased clients' exposure to stocks in recent weeks, particularly strategies that invest in cyclical companies like financials.

The rally also showed how investors are overlooking the current period, in which the U.S. continues to report more than 100,000 new Covid-19 cases a day and millions of Americans remain out of work and unable to pay their bills. Many investors are instead looking toward the economy more fully opening back up.

A reopening could weaken the advantage that tech companies, which thrive on virtual work, learning and entertainment, have enjoyed during the pandemic. Still, some aren't so quick to count them out.

"Do I think that people are going to en masse go back to gyms and not buy Pelotons anymore? I don't," said Nancy Tengler, chief investment officer of Laffer Tengler Investments. "I just don't think we are going to see huge changes in behavior back to the norm."

The new leg of the rally in stocks also reflects the reduced uncertainty surrounding the U.S. elections, combined with expectations that a Democrat-controlled White House and divided Congress could result in moderate policy measures on taxes and spending.

"The market-friendly bits of Biden will be in place: the lack of volatility, more clear foreign policy," said Altaf Kassam, head of investment strategy for State Street Global Advisors in Europe. "But at the same time, the bits that the market was worried about -- higher taxes and more regulation -- will not happen. That's what's been driving the market higher."

The pan-continental Stoxx Europe 600 jumped 4%. Overseas investors expect that an administration led by President-elect Biden will engage in more predictable foreign policy and may be less inclined to levy tariffs or unexpectedly escalate tensions with China, said James McCormick, a strategist at NatWest Markets. "Equities outside of the U.S. get a nice lift from this," he said.

Asia is likely to benefit as higher trade tariffs become less likely, according to Tai Hui, chief market strategist for the region at J.P. Morgan Asset Management. "A lot of the shocks we've experienced in the past three years will be less of a concern. And investors will welcome that," he said.

China's Shanghai Composite Index closed 1.9% higher, and Hong Kong's Hang Seng Index rose 1.2%. Japan's Nikkei 225 gained 2.1% to close at a fresh 29-year high.

"Globally, investors are just happy to turn the page on the U.S. elections," said Eli Lee, head of investment strategy at Bank of Singapore. Mr. Lee said the feared scenario of a drawn-out contested election had diminished, reducing uncertainty for markets and for policy makers such as the Federal Reserve.

"The Fed has been on the back foot for the past couple of months as it wants clarity on what policies would be on the fiscal front to craft monetary policies to support the economic recovery," he said.

Write to Caitlin Ostroff at caitlin.ostroff@wsj.com, Ben Eisen at ben.eisen@wsj.com and Chong Koh Ping at chong.kohping@wsj.com

(END) Dow Jones Newswires

11-09-20 1705ET