Investors poured $20 billion into U.S. equity funds on Wednesday after President-elect Trump was declared the winner of the presidential election, according to Bank of America.

The bank’s strategists, led by Michael Hartnett, reported that it was the biggest daily stock inflow since June, and the $2.9 billion that flooded into financials was the highest on record.

Bettors profit off Trump election win

The Dow, S&P 500 and Nasdaq hit fresh records after President-elect Trump was declared winner of the presidential election on Wednesday. (Getty Images/Photo illustration / Getty Images)

The note said the biggest picture is that “Trump won big, as US voters cared more about inflation, inequality…immigration than low unemployment,” and the Republicans’ “big sweep” equates to “big policies,” with the potential for $8 trillion in tax cuts, $3 trillion in tariff revenues and $1 trillion in spending cuts.

AFTER TRUMP VICTORY, STEVE MADDEN ANNOUNCES PLANS TO MOVE PRODUCTION OUT OF CHINA

Trump’s victory over Vice President Kamala Harris was decisive, with the president-elect winning both the Electoral College and the popular vote. The GOP also won control of the Senate and is within striking distance of maintaining a majority in the House, but control of the lower chamber was still up in the air Friday as key races remained too close to call.

Trump hat on display at NYSE

A Trump hat is seen on the floor of the New York Stock Exchange in New York on Wednesday. (Michael Nagle/Bloomberg via Getty Images / Getty Images)

The Dow Jones Industrial Average, S&P 500 and Nasdaq all hit fresh records after Trump’s win on Wednesday.

Dow financials, including Goldman Sachs and JPMorgan, helped drive the gains.

Ticker Security Last Change Change %
I:DJI DOW JONES AVERAGES 43988.99 +259.65 +0.59%
SP500 S&P 500 5995.54 +22.44 +0.38%
I:COMP NASDAQ COMPOSITE INDEX 19286.776974 +17.32 +0.09%

Even before Trump appeared to emerge as the winner, stock futures were steadily climbing, building on a rally Tuesday in which all three of the major market averages rose over 1% as all the major sectors in the S&P 500 locked in gains.