The stock market struggled for direction on Friday, wavering between small gains and losses for most of the day. The Dow Jones industrial average and the Nasdaq composite index closed lower, while the Standard & Poor's 500 rose.
The Dow fell 20.14 points, or 0.2 percent, to 13,232.62.
The S&P 500 rose 1.57 points, or 0.1 percent, to 1,404.17.
The Nasdaq fell 1.11 points, or 0.04 percent, to 3,055.26.
For the week:
The Dow is up 310.60 points, or 2.4 percent.
The S&P 500 is up 33.30 points, or 2.4 percent.
The Nasdaq is up 66.92 points, or 2.2 percent.
For the year so far:
The Dow is up 1,015.06 points, or 8.3 percent.
The S&P 500 is up 146.57 points, or 11.7 percent.
The Nasdaq is up 450.11 points, or 17.3 percent.