Stocks rise for a third day on China trade optimism as record-setting rally continues