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

Markets Associated Press

U.S. stocks closed mostly higher Wednesday, driven by better company earnings, but a slump in oil prices and a slide in Disney held the market's gains back.

Continue Reading Below

For the day:

The Dow Jones industrial average lost 10.22 points, or 0.06 percent, to 17,540.47.

The Standard & Poor's 500 index rose 6.52 points, or 0.3 percent, to 2,099.84.

The Nasdaq composite climbed 34.40 points, or 0.7 percent, to 5,139.94.

For the week:

Continue Reading Below

The Dow Jones industrial average is down 149.39 points, or 0.8 percent.

The Standard & Poor's 500 index is down 4 points, or 0.2 percent.

The Nasdaq composite is up 11.66 points, or 0.2 percent.

For the year:

The Dow is down 282.60 points, or 1.6 percent.

The S&P 500 index is up 40.94 points, or 2 percent.

The Nasdaq is up 403.89 points, or 8.5 percent.