The stock market recovered from an early swoon and ended the day pretty much where it started. The Standard & Poor's 500 index had its first weekly loss in a month.
The Dow Jones industrial average rose 3.22 points, or 0.02 percent, to close at 15,558.83.
The Standard & Poor's 500 index edged up 1.40 points, or 0.08 percent, to 1,691.65.
The Nasdaq composite index gained 7.98 points, or 0.2 percent, to 3,613.16.
For the week:
The Dow is up 15.09 points, or 0.1 percent.
The S&P 500 is down 0.44 points, or 0.03 percent.
The Nasdaq is up 25.55 points, or 0.7 percent.
For the year so far:
The Dow is up 2,454.69 points, or 18.7 percent.
The S&P 500 is up 265.46 points, or 18.6 percent.
The Nasdaq is up 593.65 points, or 19.7 percent