(AP) — U.S. stocks overcame a brief stumble to close slightly higher Wednesday, snapping a two-day losing streak.
The dip came after the Federal Reserve released its latest statement on interest rate policy and the economy, in which the central bank signaled that it expects inflation to pick up this year. The Fed, as expected, held off on raising interest rates.
Stocks bounced back in the last hour of trading, with gains by technology companies outweighing losses in health care and other sectors.
The latest batch of strong earnings from big companies, including Boeing, helped put investors back in a buying mood a day after the market had its biggest drop since August.
“The markets have turned around,” said Erik Davidson, chief investment officer for Wells Fargo Private Bank. “Many people have been waiting for it to dip as it’s marched higher and higher, and we finally had two days of weakness, particularly yesterday.”
The Standard & Poor’s 500 index rose 1.38 points, or 0.1 percent, to 2,823.81.
The Dow Jones industrial average added 72.50 points, or 0.3 percent, to 26,149.39. The Nasdaq composite climbed 9 points, or 0.1 percent, to 7,411.
The Russell 2000 index of smaller-company stocks gave up 7.82 points, or 0.5 percent, to 1,574.99.
All told, the indexes ended January with solid gains.
Boeing climbed 4.9 percent after the aerospace giant’s latest results topped Wall Street’s expectations. The stock, which has been the biggest gainer in the Dow over the past year, added $16.66 to $354.37.
Electronic Arts led the rally in technology companies, jumping 7 percent after the video game maker forecast quarterly earnings and sales that were well ahead of what analysts expected. The stock was the biggest gainer in the S&P 500, rising $8.26 to $126.96.
Some 80 percent of the companies that have reported earnings in recent weeks have beat expectations. Typically, it’s around two-thirds.
Management teams are also touting stronger sales growth than in previous quarters.
“The combination is really helping drive the market higher and making investors feel more confident about the outlook for 2018,” said Kate Warne, investment strategist at Edward Jones.
The market was higher for most of the day but briefly gave up its gains after the Fed released its economic and interest rate policy update.
The central bank left its benchmark interest rate unchanged in a still-low range of 1.25 percent to 1.5 percent and signaled that it expects to resume raising rates gradually to reflect an improving, healthy job market and economy.
The Fed also said that it expects inflation to finally pick up this year and to stabilize around the Fed’s target level of 2 percent. In its previous statement, the Fed had predicted that inflation would remain below its target rate.
That revision appeared to put off some investors, triggering the sell-off that pulled stock indexes into the red until the last hour of trading.
“Investors have continued to think that inflation will remain below 2 percent, and the Fed is more clearly indicating that they think inflation will pick up to the 2 percent range,” Warne said. “And that’s led to higher long-term rates and, as a result, stocks have moved down today.”
Health care stocks posted the biggest decline for the second day in a row.
Eli Lilly lost $4.64, or 5.4 percent, to $81.45, while Gilead Sciences gave up $3.49, or 4 percent, to $83.80.
Some companies’ quarterly report cards failed to impress traders.
Juniper Networks slumped 7.7 percent after the provider of network equipment forecast quarterly results that were well below what Wall Street analysts expected. The stock fell more than any other company in the S&P 500, shedding $2.17 to $26.15.
Textron shares also fell after the industrial conglomerate’s results fell of forecasts. The stock slid $1.51, or 2.5 percent, to $58.67.
Bond prices didn’t move much. The yield on the 10-year Treasury remained at 2.72 percent after briefly moving higher.
The prospect for stronger economic growth, both in the U.S. and abroad, has helped drive bond yields higher in recent months. This week yields have hovered at the highest level since April 2014. Rising yields make bonds more appealing to investors seeking income, but they can also lead to higher financing costs for companies, homebuyers and other borrowers.
The dollar rose to 109.11 yen from 108.78 yen on Tuesday. The euro edged up to $1.2410 from $1.2404.
Gold rose $3.60 to $1,339 an ounce. Silver added 18 cents to $17.24 an ounce. Copper gained 1 cent to $3.20 a pound.
Oil prices reversed an early slide. Benchmark U.S. crude rose 23 cents to settle at $64.73 per barrel on the New York Mercantile Exchange. Brent crude, used to price international oils, gained 3 cents to $69.05 a barrel in London.
In other futures trading, wholesale gasoline added 1 cent to $1.91 a gallon.
Heating oil was little changed at $2.07 a gallon. Natural gas fell 20 cents, or 6.3 percent, to $3 per 1,000 cubic feet.
Germany’s DAX fell 0.1 percent, while France’s CAC 40 gained 0.1 percent.
London’s FTSE 100 fell 0.7 percent. In Asia, Tokyo’s Nikkei 225 fell 0.8 percent, while Hong Kong’s Hang Seng rose 0.9 percent. Sydney’s S&P-ASX 200 added 0.3 percent.