The S&P 500 notched a record close, extending its winning streak to eight sessions as sentiment improved ahead of earnings season.

Some strategists warned the rally looks stretched and flagged the risk of a near-term pullback.