U.S. stocks are edging higher as the market shakes off two days of losses.

CarMax jumped 8 percent early Thursday after reporting that its profit rose sharply in the latest quarter as purchases of used vehicles increased.

The Dow Jones industrial average rose 23 points, or 0.1 percent, to 17,720 as of 9:35 a.m. Eastern time.

The Standard & Poor's 500 index rose two points, or 0.1 percent, to 2,062. The Nasdaq composite rose five points, or 0.1 percent, to 4,884.

Nine of the 10 industry sectors in the S&P 500 index rose. Energy stocks fell as the price of crude oil fell.

Bond prices fell. The yield on the 10-year Treasury note edged up to 1.88 percent.

U.S. markets will be closed Friday for the Good Friday holiday.