NEW YORK (AP) -- Stocks jumped Monday after Federal Reserve Chair Janet Yellen again managed to soothe investors' jangled nerves. The Standard & Poor's 500 index made its highest close in 2016, and oil prices also reached their highest levels of the year.
Market indexes were higher all day. They weakened a bit during Yellen's remarks, but rose further as investors concluded that the Fed won't raise interest rates again until it is certain higher rates won't stall the economy. Energy companies made the biggest gains as oil prices increased. Banks rose as investors anticipated that interest rates will eventually rise.
Investment manager Luke Bartholomew of Aberdeen Asset Management said Yellen was noncommittal following a weak jobs report on Friday. But Bartholomew said the Fed's decision won't be based on a single report or economic indicator.
"There's still a lot of data to go," he said.
The Dow Jones industrial average gained 113.27 points, or 0.6 percent, to 17,920.33. The S&P 500 rose 10.28 points, or 0.5 percent, to 2,109.41. The Nasdaq composite index picked up 26.20 points, or 0.5 percent, to 4,968.71. The Nasdaq is close to its highs for the year.
Yellen's remarks come after the government released a surprisingly weak jobs report for May on Friday. Yellen, who called that report "disappointing," had said recently that the Fed would probably raise interest rates in the next few months if the economy kept getting stronger. She did not repeat that comment Monday, and investors concluded that the Fed won't raise interest rates until it is certain that doing so won't stall the economy.
Benchmark U.S. crude oil rose $1.07, or 2.2 percent, to $49.69 a barrel in New York. That's its highest closing price this year. Brent crude, which is used to price international oils, gained 91 cents, or 1.8 percent, to $50.55 a barrel in London. That brought energy companies higher. Exxon Mobil added 97 cents, or 1.1 percent, to $89.34.
Independent energy analyst Jim Ritterbusch said oil prices rose because the dollar has weakened since the disappointing jobs report, and acts of sabotage in Nigeria have sapped the country's oil production, boosting crude prices.
The price of oil has rebounded over the last few months, but it's far lower than it was two years ago. That's causing a lot of pain for energy companies.
Oil and gas exploration company Devon Energy said Monday it will sell almost $1 billion in assets later this year to shore up its financial position. That sent its stock up $1.64, or 4.6 percent, to $37.56. Oilfield services company Hercules Offshore filed for Chapter 11 bankruptcy protection for the second time in less than a year. Hercules plans to sell all of its assets to pay off investors, including international divisions. Its stock lost 9 cents, or 6.4 percent, to $1.32.
Rival oilfield service company Halliburton gained $2.04, or 4.8 percent, to $44.89 and Baker Hughes rose $3.28, or 7.1 percent, to $49.52. Drilling rig company Transocean jumped $1.43, or 14.7 percent, to $11.17 after Barron's reported the company won a contract for an operation that will be based off of India.
CF Industries climbed $2.54, or 8.9 percent, to $31.15 and Mosaic rose $1.66, or 6.2 percent, to $28.36. That helped pull materials and chemicals companies higher.
Drugmaker AbbVie slid after investors were disappointed with results from a study of a lung cancer drug AbbVie is acquiring. In April AbbVie agreed to buy StemCentrx for $5.8 billion, gaining the company's stem cell treatment ova-T in the process. But after the results were announced, AbbVie declined $2.18, or 3.4 percent, to $62.82.
Food producer Tyson Foods slumped after a BMO Capital Markets analyst downgraded the food company to "Market Perform." Tyson stock fell $2.33, or 3.7 percent, to $60.88 but is up 49 percent over the last 12 months.
Gold gained $4.50 to $1,247.40 an ounce. Silver rose 8 cents to $16.45 an ounce. Copper was little changed at $2.12 a pound.
In other energy trading, wholesale gasoline lost 2 cents to $1.59 a gallon. Heating oil gained 2 cents to $1.50 a gallon. Natural gas rose 7 cents, or 2.8 percent, to $2.47 per 1,000 cubic feet.
The FTSE 100 index of leading British shares jumped 1 percent as polls showed voters in the U.K. want the nation to leave the European Union. Britain will hold a referendum on membership in the 28-nation bloc on June 23 and campaigning is heating up. The British pound weakened based on the latest polls. Elsewhere Germany's DAX rose 0.2 percent and France's CAC 40 was little changed. Japan's Nikkei 225 fell nearly 0.4 percent and Hong Kong's Hang Seng added 0.4 percent.
Bond yields recovered after a big drop on Friday. As bond prices fell, the yield on the 10-year U.S. Treasury note rose to 1.74 percent from 1.70 percent. The dollar rose to 107.40 yen from 106.68 yen. The euro inched up to $1.1373 from $1.1347.