U.S. stocks finished slightly higher as traders assessed a round of corporate deals and a recent spike in oil prices brought on by the conflict in Iraq. Indexes moved between small gains and losses for much of the day before eking out a slight gain for the second trading day in a row.
The Dow Jones industrial average rose 5.27 points, or 0.03 percent, to 16,781.01.
The Standard & Poor’s 500 index gained 1.62, less than 0.1 percent, to close at 1,937.78.
The Nasdaq composite index rose 10.45 points, or 0.2 percent, to 4,321.11.
For the year:
The Dow is up 204.35 points, or 1.2 percent.
The S&P 500 index is up 89.42 points, or 4.8 percent.
The Nasdaq is up 144.52 points, or 3.5 percent.