The S&P 500 finished the week at a new record high, its 27th of the year. The index posted a weekly gain of 1.2%, marking its sixth in the past seven weeks.