(Reuters) - Wall Street pushed further into record-high territory on Wednesday, with the S&P 500 notching a seven-session winning streak, helped by a round of robust economic data and ongoing optimism that President Donald Trump will cut corporate taxes.

Bigger-than-expected rises in retail sales and consumer prices in January reinforced confidence that the economy is growing at a solid pace following the strongest quarterly corporate earnings growth in over two years.

In a meeting with top executives from U.S. retail companies, Trump said he would lower taxes substantially and simplify the tax code, echoing a vow he made last week and on the campaign trail.

Optimism that lower taxes and corporate deregulation will expand the economy pushed the three major indexes to all-time highs. The S&P 500 recorded its fifth straight record close and its longest non-stop winning streak since September 2013, even as some investors worried that Trump so far has provided no substantial details of his tax plan.

Federal Reserve Chair Janet Yellen, in testimony before the House Financial Services Committee, stood by the stance she took on Tuesday that the U.S. central bank was on track to raise interest rates at an upcoming policy meeting.

“A year ago, if Janet Yellen had come out with the statement she made, the market would have freaked out because the fundamentals were very soft,” said Brad McMillan, chief investment officer at Commonwealth Financial Network. “Now, if the Fed raises rates it’s not going to shake the world because people are confident enough about the fundamentals.”

The healthcare index .SPXHC was the top gainer, up 1.17 percent.

Financial stocks .SPSY, which benefit from higher rates, rose 0.74 percent. The utilities .SPLRCU and real estate .SPLRCR sectors, both of which do worse in high-rate environments, fell 0.39 percent and 0.30 percent respectively.

The Dow Jones Industrial Average .DJI rose 0.52 percent to end at 20,611.86. The S&P 500 .SPX gained 0.50 percent to 2,349.25 and the Nasdaq Composite .IXIC added 0.64 percent to 5,819.44.

Fourth-quarter earnings for S&P 500 companies have risen about 7.2 percent, the strongest expansion since the third quarter of 2014, according to Thomson Reuters data. Analysts on average expect S&P 500 earnings for the first quarter to rise 10.7 percent.

Procter & Gamble PG.N jumped 3.71 percent to a two-year high, giving the biggest boost to the Dow and the S&P, after Trian Fund disclosed a stake, which could pressure the company to slice costs and slow-growing divisions.

Shares of Southwest LUV.N, United Continental UAL.N, American Airlines AAL.O and Delta DAL.N rose between 2 percent and 4 percent after Warren Buffett's Berkshire Hathaway BRKa.N reported investments topping $2.1 billion in each of the carriers.

Advancing issues outnumbered declining ones on the NYSE by a 1.44-to-1 ratio; on Nasdaq, a 1.79-to-1 ratio favored advancers.

The S&P 500 posted 80 new 52-week highs and two new lows; the Nasdaq Composite recorded 156 new highs and 27 new lows.

About 7.0 billion shares changed hands on U.S. exchanges, above the daily average of 6.8 billion over the last 20 sessions.