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.60%||3.72%|
|15 yr fixed||2.77%||2.69%|
|30 yr refi||3.56%||3.59%|
|15 yr refi||2.77%||2.75%|
Today's featured rates:
The strong showing for text messaging tech firm Twilio shows investors are willing to bet on risky IPOs again after Square's flop last year. Next up? Asian social media giant Line. Will other big unicorns like Uber and Airbnb follow? More
Investors are already sifting through the Brexit market rubble for opportunities. Morgan Stanley compiled a list of highly-rated stocks that have limited or no direct exposure to the situation in the U.K. More
Facebook is changing News Feed to prioritize posts from users' friends over material shared by publishers. It's also sharing its "values" for the first time. More
In 1998, Ntsiki Biyela won a scholarship to study wine making. Now she's about to launch her own brand. More
The coveted British passport is losing its luster following Britain's decision to leave the European Union. Instead, Ireland has seen a surge in passport applications. More