NEW YORK (Reuters) - Wall Street stocks edged up, U.S Treasury debt yields fell, and oil prices rose to the highest level of the year on Wednesday after the Federal Reserve signaled it was in no hurry to change policy.

Traders work on the floor of the New York Stock Exchange (NYSE) in lower Manhattan in, New York, U.S., April 20, 2016. REUTERS/Brendan McDermid

The Fed’s policy interest rate target was left unchanged at 0.25 percent to 0.5 percent as expected, and the U.S. central bank expressed confidence in the U.S. economic outlook, leaving the door open to an interest rate rise in June, but gave no indication it felt the need to hike.

The Fed said the labor market had improved further despite slow economic growth, and added that it was keeping a close eye on inflation, while removing references to worries about the global economy from its statement.

The S&P 500 index and Dow Jones Industrial Average ended higher for the day after the Fed statement, but the Nasdaq fell on disappointing earnings from Apple and Twitter late Tuesday, and the index has lost nearly 5.0 percent in the past week.

“The big takeaway here is they (the Fed) continued to be positive on the domestic economy,” said John Bailer, senior portfolio manager at The Boston Company Asset Management. “They have taken out some of the risk on the global economy.”

The Dow Jones industrial average rose 51.23 points, or 0.28 percent, to 18,041.55, the S&P 500 gained 3.45 points, or 0.16 percent, to 2,095.15 and the Nasdaq Composite dropped 25.14 points, or 0.51 percent, to 4,863.14.

Apple shares closed down 6.3 percent after the company reported its first drop in iPhone sales and its first decline in revenue in more than a decade. Twitter tumbled more than 16 percent after quarterly revenue lagged expectations.

The Nasdaq’s information technology sector fell 1.4 percent, with Facebook and Alphabet also lower.

BOND YIELDS FALL

Longer-dated U.S. Treasury debt yields fell on Wednesday for the first time in seven days, after the Fed left the door open for an interest rate rise but signaled its rate hike path still would be a very gradual one.

The 30-year yield fell 5 basis points to 2.707 percent after reaching its highest since early February at 2.764 percent on Tuesday.

“It’s a very close call in what they do in June. It’s contingent on the jobs, inflation and wage data, which may or may not confirm their economic outlook,” said Bill Irving, portfolio manager at Fidelity Investments in Merrimack, New Hampshire.

Interest rates futures implied traders see about a one in five chance of a rate hike at the June 14-15 Fed meeting, little changed from Tuesday, CME Group’s FedWatch program showed.

The U.S. dollar ended slightly lower against the euro, and was last down 0.1 percent against a basket of major currencies to 94.510.

“At first glance (the Fed statement) looked a little bit hawkish, but as expected it’s pretty much a non-event,” said Stephen Casey, senior foreign exchange trader and market analyst in New York.

“I think we did see some surprises in that they’re turning their focus back inward on the domestic economy, eliminating most of that language concerning the outside effects. But for me, this really goes to the credibility of the Fed. They’re very wishy-washy at the moment.”

The dollar was slightly higher against the yen, last up 0.2 percent against the Japanese currency at 111.40 yen JPY=.

OIL PRICES UP

Oil prices rose, with Brent crude, the international benchmark, up 3.3 percent to $47.23, its highest since early November.

U.S. crude rose 2.75 percent to $45.33 a barrel and had earlier rallied on expectations for a drop in crude oil inventories, but U.S. crude inventories rose sharply, reducing oil’s gains.

“Bullish momentum from a technical perspective, in cahoots with dovish Fed rhetoric, has this market on fire again despite the crude inventories we’re seeing,” said Matt Smith, director of commodities research at New York-based Clipperdata.