U.S. stocks rose on Wednesday as the technology sector climbed higher.
The S&P 500 gained 0.46 percent to close at 2,457.59, with information technology leading eight sectors higher. The S&P also posted a four-day winning streak, its longest since late May.
The tech-heavy Nasdaq composite rose 1.05 percent to 6,368.31, leading other major U.S. indexes, and notched a three-day winning streak. Lifting the index higher were shares of Netflix, which advanced more than 3 percent after analysts at Bernstein said that Disney pulling its content from the platform wouldn't hinder Netflix's stock performance.
"Almost all of Netflix's future growth will come from international … Investors who were already skeptical (or bullish) on int'l growth will remain so – but Disney's U.S. non-renewal should have no effect on that view," analyst Todd Juenger said in a note to clients.
Shares of Apple also contributed to the Nasdaq's gains, rising 0.2 percent to hit a record high earlier in the session.
Other major stocks in the sector also rose, including Facebook and Google-parent Alphabet. Tech is by far the best-performing sector this year, advancing more than 20 percent.
The Dow Jones industrial average, meanwhile, rose 27.06 points to close at 21,892.43, with Goldman Sachs contributing the most to the gains.