Broad S&P 500 index and Dow Jones industrial index both rose 1.1 percent, while Nasdaq's technology-heavy composite index went up 1.4 percent.
Apple stock rose 3.9 percent to just over 262 dollars, the highest level this year. The company's latest iPhone model, which was launched in September, has sold unexpectedly well. The analysis firm Loop Capital has also raised its recommendation for the stock to buy.
Winners were also the major banks. Wall Fargo rose as much as 3.3 percent, Bank of America rose 1.5 percent and JP Morgan Chase increased 1.6 percent.