This is an archived article that was published on sltrib.com in 2016, and information in the article may be outdated. It is provided only for personal research purposes and may not be reprinted.

New York • U.S. stocks ended the day nearly flat as indexes stabilized after two days of losses.

Energy companies rose with the price of oil and health care stocks advanced. Consumer companies and telecommunications stocks were the biggest decliners.

A number of companies fell after releasing results that didn't impress investors. Electric car maker Tesla sank 5 percent and cereal maker Kellogg fell 3 percent.

The Dow Jones industrial average rose 9 points, less than 1 percent, to 17,660. The Standard & Poor's 500 index fell a half of a point, to 2,050. The Nasdaq composite fell 8 points, or 0.2 percent, to 4,717.

Bond prices didn't move much. The yield on the 10-year Treasury note held steady at 1.78 percent.

11:45 a.m.

The energy sector is leading the stock market higher in midday trading as indexes stabilize after two days of losses.

Apache rose 7 percent Thursday and Newfield Exploration climbed 6 percent.

Several companies were also rising after reporting earnings that beat analysts' forecasts. Discovery Communications rose 5 percent and Allstate added 4 percent.

The Dow Jones industrial average rose 60 points, or 0.4 percent, to 17,712.

The Standard & Poor's 500 index added six points, or 0.3 percent, to 2,057. The Nasdaq composite edged up 14 points, or 0.3 percent, to 4,740.

The price of U.S. crude oil climbed 3 percent to almost $45 a barrel in New York.

Bond prices didn't move much. The yield on the 10-year Treasury note held steady at 1.78 percent.