TORONTO -- North American stock markets surged Thursday in a broad rally led by the energy sector as crude oil prices rebounded from two days of weakness.

Markets got off to a strong start on a report about China preparing to inject US$220 billion of stimulus with infrastructure spending.

鈥淭hat certainly helped with a risk-on tone to start the day,鈥 said Mike Archibald, vice-president and portfolio manager with AGF Investments Inc.

It helped drive copper prices to climb nearly five per cent after being under pressure on concerns about slowing economic growth.

鈥淭hat's really lighting a fire under all the base metal companies,鈥 he said in an interview as a weaker U.S. dollar also helped all commodities, including metals and oil prices.

The August gold contract was up US$3.20 at US$1,739.70 an ounce and the September copper contract was up 16.4 cents at US$3.57 a pound.

Shares of First Quantum Minerals Ltd. were 10.8 per cent higher while Capstone Mining Corp. was 9.9 per cent higher.

The Canadian dollar traded for 77.01 cents US compared with 76.65 cents US on Wednesday.

Telecommunications was the lone sector on the TSX not to end higher, with energy leading by rising 4.5 per cent on higher crude oil prices and a 14.2 per cent jump in natural gas prices.

The August crude contract was up US$4.20 at US$102.73 per barrel and the August natural gas contract was up 78.7 cents at US$6.30 per mmBTU.

Advantage Oil & Gas Ltd increased 13.4 per cent while Crescent Point Energy Corp. rose 13.1 per cent after it raised its quarterly dividend for the second time in less than two months.

Six of the sectors increased by more than two per cent as cyclical sectors benefited from the gains.

Technology increased 3.0 per cent as Shopify Inc. rose 6.4 per cent. Aritzia Inc. climbed 7.6 per cent to move consumer discretionary up on the day.

Overall, the S&P/TSX composite index closed up 333.51 points or 1.8 per cent to 19,063.17, snapping a two-day losing streak.

In New York, the Dow Jones industrial average was up 346.87 points at 31,384.55. The S&P 500 index was up 57.54 points at 3,902.62, while the Nasdaq composite was up 259.50 points or 2.3 per cent at 11,621.35.

Markets also welcomed remarks from two Federal Reserve officials, which followed Wednesday's meeting minutes from the central bank's last meeting, to reaffirm that upcoming rate hikes won't be incrementally hawkish, at least in the next couple of meetings.

Governor Christopher Waller and St. Louis Fed president James Bullard both said they support another 75 basis point increase this month to curb inflation while Waller said he believes the U.S. economy is on solid footing and can avoid a recession.

Pushing back on that outlook was jobless claims data that was slightly higher last week, a day before employment reports are released in both countries.

The Royal Bank also put out a report suggesting Canada is headed toward a recession in 2023, but it will be short-lived and not as severe as prior downturns.

Whether recessions occur or not, economies are slowing because of rising interest rates.

鈥淲e're getting to a point in time here we're starting to see some positive signs of inflation either peaking or certainly slowing down,鈥 Archibald said, pointing to slowing employment growth, softening consumption and weaker markets.

鈥淚t's been challenging 2022 for sure to start the first half, but it feels like we're kind of getting a little bit closer to the end of the hiking cycle.鈥

Despite the market gains, Archibald cautioned that trading volumes were very low during up days and big on down days, which could be a negative signal.

鈥淭hat is still telling me that there's a lack of conviction that we've hit the bottom in broader markets,鈥 he said. 鈥淯ntil we kind of see that with conviction on volume then I'm a little less certain that we've kind of passed the worst for the year.鈥

This report by The Canadian Press was first published July 7, 2022