Stocks rose in another volatile session on Wednesday after a summary of the Federal Reserve's meeting in December reiterated comments from the central bank's chairman from last week about patience regarding monetary policy.

The Dow Jones Industrial Average rose 91.67 points to close at 23,879.12, posting its fourth straight day of gains. The advanced 0.4 percent to 2,584.96 — notching a four-day winning streak, which was its longest since September — as the tech and energy sectors outperformed. The Nasdaq Composite climbed 0.87 percent to 6,957.08 as Apple gained 1.7 percent. Energy gained 1.5 percent as a sector, boosted by a 5.2 percent in U.S. crude prices.