US stocks climbed on Thursday after President Trump unveiled a US-UK trade deal and signaled optimism for upcoming China talks, boosting spirits that the tide in the global trade war has turned.