Stocks edge mostly higher on Wall Street even as tech lags