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

Markets Associated Press

An early gain in the stock market faded on Wednesday, as a slide in Apple and other tech companies tugged the market to a tiny loss.

Continue Reading Below

News that Russia and Ukraine were close to reaching a cease-fire agreement rippled through markets, lifting stocks in Europe and pushing up oil prices. In the U.S., the stock market headed higher at the start of trading then sagged in the afternoon.

The Dow Jones industrial average rose 10.72 points, or 0.1 percent, to 17,078.28.

The Standard & Poor's 500 index slipped 1.56 point, less than 0.1 percent, to end at 2,000.72.

The Nasdaq composite fell 25.62 points, or 0.6 percent, to 4,572.57.

For the week:

Continue Reading Below

The Dow is down 20.17 points, or 0.1 percent.

The S&P 500 is down 2.65 points, or 0.1 percent.

The Nasdaq is down 7.70 points, or 0.2 percent.

For the year:

The Dow is up 501.62 points, or 3 percent.

The S&P 500 index is up 152.36 points, or 8.2 percent.

The Nasdaq is up 395.98 points, or 9.5 percent.