NEW YORK (CNNMoney) -- Stocks ended higher Wednesday, thanks to a late-afternoon turnaround following President Obama's speech unveiling his plan to cut the U.S. budget deficit by $4 trillion over 12 years.
The losses came after JPMorgan CEO Jamie Dimon said that mortgage-related losses would continue for some time, and warned that investors should not expect additional dividend increases beyond the 25 cents set for this quarter. Shares of the bank slid almost 1%. JPMorgan is the first major bank to report first-quarter results.
But the market again reversed course in the afternoon after Obama laid down a series of spending and deficit targets, adding that he wants $3 in spending cuts for every $1 in additional tax revenue.
"Investors wanted to see some movement toward fiscal responsibility, but just not too much and not too soon, and that's exactly what the president gave them," said Doug Roberts, chief market strategist at Channel Capital Research.
Roberts added that the market has been supported by the government's stimulative policies, including the Federal Reserve's Treasury purchases and Congress' decision last December to extend the Bush-era tax cuts.
"Investors are relieved to hear that Obama's plan to reduce the deficit is gradual, not imminent," Roberts said. "The government's deficit has been taking painkillers for years now, and it's finally about to get some surgery. But nobody's amputating anything."
U.S. stocks finished lower Tuesday, with all three major indexes losing about 1%, as a 3% drop in oil prices sparked a sell-off in energy stocks, and Alcoa's sales disappointment weighed down the Dow.
Economy: Economists are continuing to scan the latest data for the domino effect of rising prices on other areas of the economy.
Before the market opened, the government reported retail sales rose 0.4% in March. The number was slightly below forecasts. Stripping out gas, retail sales were only up 0.1% for the month.
"Clearly, higher commodity prices are factoring into higher retail sales," said Aichi Amemiya, economist with Nomura Securities.
Retail sales for the prior two months were revised significantly higher, causing Nomura to raise its daily revised estimates for first-quarter growth to 2.3%, from 2.1% before.
A separate government report showed that business inventories rose 0.5% in February, slightly below forecasts.
World markets: European stocks ended higher. Britain's FTSE 100 and France's CAC 40 rose 0.8%, while the DAX in Germany added 1.1%.
Asian markets ended higher. The Shanghai Composite rose just under 1%, the Hang Seng in Hong Kong added 0.7% and Japan's Nikkei rose 0.9%.
Oil for May delivery rose 86 cents to settle at $107.11 a barrel.
Gold futures for June delivery increased $2.00 to settle at $1,455.60 an ounce.
Bonds: The price on the benchmark 10-year U.S. Treasury rose, pushing the yield down to 3.47% from 3.50% late Tuesday.
|Overnight Avg Rate||Latest||Change||Last Week|
|30 yr fixed||3.79%||3.76%|
|15 yr fixed||2.93%||2.96%|
|30 yr refi||3.85%||3.83%|
|15 yr refi||3.00%||3.04%|
Today's featured rates:
Lucas will finance 100% of the project at Grady Ranch and wants Marin County teachers and police officers to be able to live there. More
It's the second big layoff at Schlumberger this year. The oil services company cut 9,000 workers in January. More
The Smokio e-cigarette pairs with an app on your phone to keep track of how much you smoke, and how much money you've saved by not buying tobacco cigarettes. More
Employers in New York City can no longer use credit checks to screen potential hires. More