The Dow Jones Industrials jumped 126.13 points to 42,080.37.
The much-broader index improved 55.19 points, or 1%, to 5,751.13.
The NASDAQ Composite hiked 259.01 points, or 1.5%, to 18,182.92.
Technology shares powered higher Tuesday, with Nvidia climbing 4%, and Broadcom gaining 3%. Meta Platforms, Tesla and Microsoft rose at least 1% each, while Palo Alto Networks rallied 5%.
Stocks have been volatile this month as fears of an escalating conflict in the Middle East mount. The S&P 500 is off by a little more than 1.1% in October following a 2% gain in September. Stocks are also coming off a rocky session that saw all three major averages finish lower.
Prices for the 10-year Treasury gained, bringing yields back to Monday’s 4.02%. Treasury prices and yields move in opposite directions.
Oil prices dipped $3.23 to $73.91 U.S. a barrel.
Gold prices stumbled $24.30 to $2,461.70 U.S. an ounce