How the Dow Jones industrial average and other major indexes fared on Thursday

U.S. stocks edged higher Thursday as investors assessed some mixed news on company earnings. Energy stocks rose as oil recouped some of its losses from a big sell-off a day earlier.

On Thursday:

The Dow Jones industrial average rose 56.22 points, or 0.3 per cent, to 17,958.73.

The Standard & Poor’s 500 index climbed 9.28 points, or 0.5 per cent, to 2,091.18.

The Nasdaq composite gained 23.74 points, or 0.5 per cent, to 4,974.56.

For the week:

The Dow is up 195.49 points, or 1.1 per cent.

The S&P 500 is up 24.22 points, or 1.2 per cent.

The Nasdaq has gained 87.63 points, or 1.8 per cent.

For the year:

The Dow is up 135.66 points, or 0.8 per cent.

The S&P 500 index is up 32.28 points, or 1.6 per cent.

The Nasdaq is up 238.51 points, or 5 per cent.