At the close, the S&P 500 index was up 0.3 percent, the technology-heavy Nasdaq composite index was up 0.1 percent, and the Dow Jones industrial index increased 1.0 percent.
Among the losers were, among others, Facebook's parent company Meta, down 1.3 percent, the index-heavy chip giant Nvidia, down 0.9 percent, and software giant Microsoft, which fell 1.6 percent.
At the other end, there were examples such as chip giant AMD, up 5.4 percent, and iPhone manufacturer Apple, plus 1.6 percent. The entertainment conglomerate Paramount Skydance surged 36.7 percent.
Another day
The gains come after both the S&P 500 and the Nasdaq composite index also recorded record-high closings on Tuesday.
Tuesday's gains were partly due to the release of important inflation statistics that may weigh heavily on the country's interest rate levels, which the central bank, the Federal Reserve (Fed), will decide on at its meeting on September 17-18.
The market has largely priced in that the Fed is likely to lower the interest rate next month, from the current range of 4.25-4.5 percent. The central bank's inflation target is 2 percent.
Bessent: Lower the interest rate
US President Donald Trump's announcement that the tariff pause with China will be extended by another 90 days also had a positive impact on the stock market.
On Wednesday, US Finance Minister Scott Bessent said he believes the Fed's interest rates are too tight and should be 150-175 basis points lower, according to Bloomberg.
According to Bessent, the central bank could start the rate cuts in the coming months - with a start of 50 points in September. This would mean a new range of 3.75-4.0 percent.