Stocks climb, erasing their losses for a tumultuous week.
Investors pushed past Russia’s invasion of Ukraine to focus on a sliver of good news on Friday: that President Vladimir V. Putin might engage in talks with his Ukrainian counterpart. That hope drove stocks up, and the S&P 500 closed a…