The S&P 500 and the Nasdaq on Friday closed at an all-time high, capping a week that had produced a decided uptrend as investors parsed a round of corporate results, economic data and the spread of COVID-19. All three benchmarks, however finished the week solidly higher. The S&P 500 /zigman2/quotes/210599714/realtime SPX -4.41% gained 6.22 points, 0.2%, to close at 3,380.16, a record. The Nasdaq Composite Index /zigman2/quotes/210598365/realtime COMP -4.41% closed 19.21 points, 0.2%, also at a record at 9,731.18. Meanwhile, the Dow Jones Industrial Average /zigman2/quotes/210598065/realtime DJIA -4.44% finished 25.23 points, or 0.1%, down to end at 29,398.08. On the day, investors weighed slightly sluggish retail-sales growth in January against relatively upbeat corporate earnings, even as companies like Expedia /zigman2/quotes/202291990/lastsale EXPE -7.59% warned on the impact of the viral outbreak that reportedly originated in Wuhan, China last year. For the week, the Dow gained 1%, the S&P 500 was up 1.6%, and the Nasdaq gained 2.2%.