New York CNN  — 

US stocks rose Friday and the S&P 500 notched its longest winning streak since 2004 as China signaled openness to trade talks and investors digested a better-than-expected jobs report.

The Dow closer higher by 564 points, or 1.39%. The broader S&P 500 rose 1.47% and the tech-heavy Nasdaq Composite gained 1.51%. The Dow and S&P 500 posted their ninth consecutive daily gain.

The S&P 500 posted its first nine-day winning streak since November 2004. While the index has notched many seven- and eight-day streaks in recent years, the nine-day consecutive winning streak had proved elusive for the past two decades — until today.