The Nasdaq Composite closed marginally higher on Wednesday, notching its longest winning streak since March, as shares of Facebook and Amazon rose.
The tech-heavy index gained less than 0.1 percent to close at 7,888.33, but posted its seventh consecutive gain. That is the Nasdaq's first seven-day winning streak since the one that ended on March 12.
Facebook and Amazon led the index higher, rising 0.8 percent and 1.3 percent, respectively. Google-parent Alphabet also rose 0.4 percent.
But the rest of the market closed little changed after the unveiling of new Chinese tariffs on U.S. goods.
The Dow Jones Industrial Average slipped 45.16 points to close at 25,583.75, with Disney as the biggest laggard. The S&P 500 closed just below the flatline at 2,857.70 as consumer staples underperformed.
The Chinese Ministry of Commerce announced a 25 percent charge on $16 billion worth of U.S. goods. The goods being targeted by China include vehicles such as large passenger cars and motorcycles. Various fuels are on the list, as well as fiber optical cables.
China's announcement comes after the U.S. Trade Representative's office released a finalized list of $16 billion worth in Chinese goods that will be hit with tariffs. The U.S. charges will take effect on Aug. 23. The latest U.S. list brings the total worth of Chinese goods facing a 25 percent tariff to $50 billion.
Shares of big exporters Caterpillar and Boeing fell 1.9 percent and 0.9 percent, respectively.