Stocks rallied on the news that Greece reached a new deal with its creditors, sending the Dow and S&P 500 to new record closes and bringing the Nasdaq close to its own record set in March 2000. For the week, the S&P 500 gained 0.63%, the Dow rose 0.67%, and the Nasdaq grew 1.27%.