Wall Street saw slight gains Friday, with the S&P 500 and Nasdaq near record highs, potentially marking a third winning week. Investor optimism was driven by strong earnings, falling Treasury yields, and speculation about a Federal Reserve rate cut. Merger talks and acquisitions also influenced market movements, while mixed global market performance added complexity.