(AP) -- Wall Street notched its best day in 10 years as stocks rallied back Wednesday, giving some post-Christmas hope to a market that has otherwise been battered this December.
The Dow Jones Industrial Average jumped more than 1,000 points --- its biggest point-gain ever --- rising nearly 5 percent as investors returned from a holiday break. The benchmark S&P 500 index also gained 5 percent and the technology heavy Nasdaq rose 5.8 percent.
But even with the rally, the market remains on track for its worst December since 1931, during the depths of the Great Depression, and to finish 2018 with its steepest losses in a decade.
Technology companies, health care stocks, banks drove much of the broad rally. Retailers also were big gainers, as traders cheered a healthy holiday shopping season marked by robust consumer spending. Amazon had its biggest gain in more than a year.
But what really might have pushed stocks over the top was a signal from Washington D.C. that President Donald Trump would not try to oust the chairman of the Federal Reserve.
On Monday, Trump tweeted another critical volley about the central bank's policy, rattling markets over the possibility the White House might interfere with the traditionally independent Federal Reserve. But in an interview with The Wall Street Journal published Wednesday, a White House economic adviser said that Fed chairman Jerome Powell is in no danger of being fired.
Energy stocks also rebounded as the price of U.S. crude oil notched its biggest one-day gain in more than two years.
All told, the S&P 500 index rose 116.60 points, or 5 percent, to 2,467.70. The Dow soared 1,086.25 points, or 5 percent, to 22,878.45. The tech-heavy Nasdaq gained 361.44 points, or 5.8 percent, to 6,554.36. The Russell 2000 index of smaller-company stocks picked up 62.89 points, or 5 percent, 1,329.81.
Trading volume was lighter than usual following the Christmas holiday. Markets in Europe, Hong Kong and Australia were closed.
"The real question is do we have follow-through for the rest of this week," said Sam Stovall, chief investment strategist for CFRA.
Wednesday's gains pulled the S&P 500 back from the brink of what Wall Street calls a bear market --- a 20 percent tumble from an index's peak. A further stumble would have marked the end to the longest bull market for stocks in modern history after nearly 10 years. The index is now down 15.8 percent since its all-time high September 20.
Stocks fell sharply Monday after Trump lashed out at the central bank. Administration officials had spent the weekend trying to assure financial markets that Fed chairman Jerome Powell's job was safe. On Tuesday, Trump reiterated his view that the Federal Reserve is raising interest rates too fast, but called the independent agency's rate hikes a "form of safety" for an economy doing well.
On Wednesday, Kevin Hassett, chairman of the White House Council of Economic Advisers, weighed in, saying Powell is in no danger of being fired, The Wall Street Journal reported.
The lackluster finish to 2018 comes as most economists expect growth to slow in 2019, though not by enough to slide into a full-blown recession. Many economic barometers still look encouraging. Unemployment is at 3.7 percent, the lowest since 1969. Inflation is tame. Pay growth has picked up. Consumers boosted their spending this holiday season.
Even so, traders have been jittery this autumn over signs that the global economy is slowing, the escalating U.S. trade dispute with China and another interest rate increase by the Fed. Many investors are growing worried that corporate profits --- which drive stock market gains --- are poised to weaken.
Some of what Wall Street sees coming out of the White House has added to the market's uncertainty, specifically the president's attacks on the Fed and remarks about the ongoing trade conflict with China.
The president could help restore some stability to the market if he "gives his thumbs a vacation," Stovall said.
"Tweet things that are more constructive in terms of working out an agreement with Democrats and with China. And then just remain silent as it relates to the Fed," Stovall said.
Technology stocks accounted for much of Monday's early bounce. Adobe rose 8.7 percent to $222.95. Payment processors Visa and Mastercard also headed higher. Visa added 7 percent to $130.23, while Mastercard gained 6.7 percent to $186.43.
Big retailers were among the gainers. Amazon climbed 9.4 percent to $1,470.90. Kohl's gained 10.3 percent to $65.92. Nordstrom picked up 5.8 percent to $46.75.
Homebuilders mostly rebounded after an early slide following a report indicating that annual U.S. home price growth slowed in October. PulteGroup climbed 4.7 percent to $25.85.
Benchmark U.S. crude climbed 8.7 percent to settle at $46.22 a barrel in New York. Brent crude, used to price international oils, gained 7.9 percent to $54.47 a barrel in London.
The pickup in oil prices helped boost energy stocks. Marathon Petroleum rose 4.8 percent to $56.93.
Bond prices fell. The yield on the 10-year Treasury note rose to 2.79 percent from 2.75 percent late Monday.
The dollar strengthened to 111.36 yen from 110.41 yen on Monday. The euro weakened to $1.1351 from $1.1404.
Gold edged up 0.1 percent to $1,273 an ounce and silver gained 2 percent to $15.12 an ounce. Copper gained 1.5 percent to $2.70 a pound.
The partial U.S. government shutdown that started Saturday is unlikely to hurt the economy much, although it may deprive the financial markets of data about international trade and gross domestic product. The Bureau of Economic Analysis said Wednesday that it's required to suspend all operations until Congress approves funding, which means that the government might not release its fourth-quarter report on gross domestic product as scheduled for January 30.
In other trading Wednesday, South Korea's Kospi gave up 1.3 percent, while Japan's Nikkei 225 index, which plunged 5 percent on Tuesday, picked up 0.9 percent. Shares fell in Taiwan, Singapore and Indonesia, but rose in Thailand.