Home Stock Wall Street ends losing streak as S&P 500 edges higher; tariff uncertainty lingers