US stocks rose as investors cheered progress in trade negotiations between the Trump administration and key partners as a tariff deadline nears.