US stocks advanced on Friday but failed to make up for what turned out to be the worst week for markets since June, as investors turned their attention from the presidential election to the coming negotiations over the ''fiscal cliff.''
The market gave up some early gains after President Barack Obama and House Speaker John Boehner, in separate public remarks, made it clear that partisan sparring would likely dominate the next several weeks.
The Dow Jones industrial average edged up 4.07 points, or 0.03%, to 12,815.39 at the close. The Standard & Poor's 500 Index rose 2.34 points, or 0.17%, to 1,379.85.
The Nasdaq Composite Index advanced 9.29 points, or 0.32%, to close at 2,904.87.