(Reuters) – Wall Street continued its rally on Friday with record closing highs as the fourth-quarter earnings season kicked off with solid results from banks and robust retail sales drove investor optimism about economic growth.

The S&P 500 and Nasdaq both registered their eight record closing highs out of the first nine trading days of 2018, while the Dow boasted its sixth closing high of the year.

JPMorgan (JPM.N), the biggest U.S. lender by assets, said a U.S. tax overhaul would help future profits by reducing its tax bill and stimulating more business. The bank’s shares rose 1.7 percent.

“The fact all the big money center banks beat on the bottom line is a good omen for the rest of the earnings season,” said William Lynch, director of investments at Hinsdale Associates, in Hinsdale, Illinois.

Investors were also hopeful 2018 financial forecasts from U.S. companies would beat Wall Street estimates as many analysts may not have tax savings fully reflected in their models as the tax bill was signed into law so late in December.

“I don’t know how much of that is priced in right now,” said Stephen Massocca, senior vice president at Wedbush Securities in San Francisco. “It seems like the economy is going OK, inflation is kind of nonexistent right now, wage growth is not an issue for most income statements, so what’s not to like here.”

Earnings for S&P 500 companies are expected to increase on an average by 12.1 percent in the quarter, with profit for financial services companies likely to increase 13.2 percent, according to Thomson Reuters I/B/E/S.

While Wells Fargo (WFC.N) earnings beat expectations, its shares slipped 0.7 percent after it set aside $3.25 billion in the fourth quarter to cover legal expenses related to probes into its mortgage and sales practices.