Stocks rose to record highs on Friday after some of the major financial companies in the U.S. reported strong quarterly results.
The Dow Jones industrial average rose 228.46 points to close at 25,803.19, an all-time high. J.P. Morgan Chase was among the best-performing stocks in the index, rising 1.7 percent.
The also reached a record high, climbing 0.7 percent to 2,786.24 with energy and consumer discretionary as the best-performing sectors. Energy stocks got a boost from rising oil prices.
The index is also enjoying its best 10-day start to a year since 2003. In that time period, the S&P 500 is up 4.2 percent. It gained 5.9 percent during the first 10 days of 2003.
"There is optimism in the market," but there is also uncertainty about this rally, said Cooper Abbott, chairman of Carillon Tower Advisers. That level of uncertainty can be good for the market because it "dampens expectations."
The Nasdaq composite finished 0.7 percent higher at 7,261.06. Amazon shares rose 2.2 percent and broke above $1,300 for the first time.
J.P. Morgan Chase, BlackRock and Wells Fargo all reported better-than-expected quarterly results.
S&P 500 profits are expected to have risen 11.2 percent in the fourth quarter of last year. All 11 S&P 500 sectors, meanwhile, are expected to post increases in both earnings and revenue, according to FactSet. This would be the first time since 2011 that all the sectors in the S&P 500 posted sales and profit growth for the same quarter.
Stocks have carried over the momentum from 2017 into the new year thus far. The S&P 500 and Nasdaq have closed lower only once this year, while the Dow has fallen just twice. For 2018, the major averages are up at least 3.5 percent entering Friday's session.
For the week, they posted gains of at least 1.6 percent. The Dow outperformed the Nasdaq and S&P 500 this week, gaining 2 percent, as Boeing shares have soared 8.9 percent.
"The most important dynamic to focus on in the market is growth," said Sandip Bhagat, chief investment officer at Whittier Trust. He acknowledged that risks to the rally do exist, but added: "They pale in comparison to the economic growth we're seeing."
Recent data suggests the U.S. economy is picking up steam. The Labor Department said its Consumer Price Index excluding the volatile food and energy components rose 0.3 percent last month. That was the biggest advance in the so-called core CPI since January.
Treasury yields ticked higher following the data release. The two-year yield broke above 2 percent for the first time since September 2008. It traded at 2.01 percent.
—Reuters contributed to this report.