The U.S. stock indexes added to their records on Monday as Wall Street closed out a second straight winning month.

The S&P 500 rose 0.5% in its first trading after completing a stunning recovery from its springtime sell-off of roughly 20%. The Dow Jones industrial average added 275 points, or 0.6%, and the Nasdaq composite gained 0.5%.

Stocks got a boost after Canada said it’s rescinding a planned tax on U.S. technology firms and resuming talks on trade with the United States.

One of the main reasons U.S. stocks came back so quickly from their springtime swoon has been hope that Trump will reach deals with other countries to lower his stiff proposed tariffs.

On Wall Street, Oracle’s 4% rise was one of the strongest forces lifting the S&P 500. CEO Safra Catz said the tech giant “is off to a strong start” in its fiscal year.

GMS’ stock jumped 11.7% after the supplier of specialty building products said it agreed to sell itself to a Home Depot subsidiary in a deal that would pay $110.00 per share in cash. Home Depot’s stock slipped 0.6%.

Hewlett Packard Enterprise rallied 11.1% and Juniper Networks climbed 8.4% after saying they had reached an agreement with the U.S. Department of Justice that could clear the way for their merger go through, subject to court approval. HPE is trying to buy Juniper in a $14 billion deal.

Bank stocks were also solid after the Federal Reserve said on Friday that they are financially strong enough to survive a downturn in the economy. JPMorgan Chase climbed 1%, and Citigroup gained 0.9%.

All told, the S&P 500 rose 31.88 points to 6,204.95. The Dow added 275.50 to 44,094.77, and the Nasdaq composite gained 96.27 to 20,369.73.

In the bond market, Treasury yields fell ahead of several major economic reports later in the week. The yield on the 10-year Treasury fell to 4.23% from 4.29% late Friday.

— Associated Press