U.S. equities closed mostly higher on Tuesday as investors parsed through more corporate quarterly reports.

The Nasdaq composite rose 0.5 percent to close at 6,344.31, a record high. The index also notched an intraday record and an eight-day winning streak, its longest since February 2015.

Netflix shares soared more than 13 percent to an all-time high. The company said it added 5.2 million total memberships during its second quarter. Facebook also hit a record intraday high.

The closed 0.06 percent higher at 2,460.61, a record closing high. Information technology led advancers.

The Dow Jones industrial average fell about 54.99 points to close at 21,574.73, pressured by shares of Goldman Sachs. The index also fell more than 150 points at its session lows.

Goldman Sachs contributed the most losses on the Dow after reporting a . That said, it's top and bottom-line quarterly results topped Wall Street expectations.

"While GS has noted in the past that FICC revenues generally fall by circa 30% between Q1 and Q2, the market was expecting less of a fall given GS's underperformance in Q1 2017," Christopher Wheeler, research analyst at Atlantic Equities, said in a note Tuesday.

Bank of America also posted quarterly results that beat expectations. Its stock, however, was also pressured by a sharp drop in trading revenue.