The Dow Jones industrial average rose 77.63 points, or 0.48 per cent, to 16,331.2, the S&P 500 gained 10.2 points, or 0.53 per cent, to 1,952.24 and the Nasdaq Composite added 39.72 points, or 0.84 per cent, to 4,796.25.
Apple’s shares rose 2.2 per cent to $112.57, rebounding from losses the day before when the iPhone and iPad maker unveiled new offerings.
Biotech also boosted the market, with Gilead up 3.3 per cent at $107.25, giving the second-biggest boost to the S&P 500 and Nasdaq after Apple.
Krispy Kreme Doughnuts fell 11.7 per cent to $15.65, a day after the doughnut chain cut its 2016 profit forecast.
Also, shares of Avon Products fell 9.5 per cent to $4.10, reversing earlier gains after the Wall Street Journal reported it was in talks with private equity firms over a stake sale.