Wall Street rose today, with the S&P 500 index hitting a record intraday high for the seventh time this month as gains in technology heavyweights Alphabet and Amazon more than made up for losses in energy shares.
The benchmark index rose as much as 0.3%, touching an all-time high of 2,177.09, and completed its fifth straight month of gains.
Shares of Google parent Alphabet jumped 3.33% a day after the Internet company posted strong quarterly revenue growth, while online retailer Amazon.com touched a record high after giving an upbeat forecast for the current quarter.
Alphabet contributed the most to gains on the Nasdaq and the S&P 500.
However, the Dow was dragged down by a 1.48% drop in McDonald's and a 1.39% fall in Exxon, which reported a lower-than-expected quarterly profit. The stock was the top percentage loser on that index.
Aggregate second-quarter earnings of S&P 500 companies are now expected to fall 3.7%, worse than a 2.8% decline predicted yesterday, according to Thomson Reuters.
U.S. gross domestic product in the second quarter grew at a 1.2% rate, coming in below expectations for a rise of 2.6% and fueling arguments the Federal Reserve may not need to raise U.S. interest rates anytime soon.
"Investors are still willing to play chicken with the Fed, thus the S&P 500 has hit a new intraday all-time high," said Sam Stovall, U.S. equity strategist at S&P Global Market Intelligence in New York.
The Dow Jones industrial average ended down 0.13% at 18,432.24 while the S&P 500 gained 0.16% to 2,173.6.
The Nasdaq Composite added 0.14% to 5,162.13.
For the week, the Dow fell 0.75%, the S&P edged down 0.07% and the Nasdaq rose 1.2%.
In July, the Dow rose 2.8%, the S&P climbed 3.6% and the Nasdaq surged 6.6%.
Volume was strong as investors wrapped up July. About 7.3 billion shares changed hands on U.S. exchanges, above the nearly 6.6 billion daily average over the past 20 sessions.
Today, seven of the 10 major S&P 500 indexes were higher, led by a 1.33% rise in the telecoms services index.
Baidu dropped 3.64% after the Chinese Internet search engine posted its biggest quarterly profit decline since going public. The stock weighed the most on the Nasdaq.
Health insurer Cigna dropped 5.17% after reporting a lower-than-expected quarterly profit.
Advancing issues outnumbered declining ones on the NYSE by a 1.68-to-1 ratio; on Nasdaq, a 1.03-to-1 ratio favored advancers.
The S&P 500 posted 41 new 52-week highs and one new low; the Nasdaq Composite recorded 104 new highs and 35 new lows.