Stocks ended mostly lower on Wall Street after a late wave of selling wiped out what was left of a modest midday rally, the AP reports. Internet and media companies fell the most Wednesday. Netflix sank 1.6% and Google's parent company Alphabet lost 0.7%. Tripadvisor plunged 11.4% after missing analysts' revenue estimates. Trading was choppy a day ahead of the latest trade talks between the US and China. Investors have been on edge since President Trump threatened to impose higher tariffs on Chinese goods by Friday. The S&P 500 fell 4 points, or 0.2%, to 2,879. The Dow Jones Industrial Average edged up 2 points to 25,967. The Nasdaq fell 20 points, or 0.3%, to 7,943. (More stock market stories.)