Canada’s main stock index rose on Tuesday, ​lifted by energy shares rallying on ‌the back of higher crude prices, while investors awaited a flurry of bank earnings due later this week

At 11:20 a.m. ET, the S&P/TSX Composite Index ⁠was up 50.31 points, or 0.14 per cent, at 35,001.12.

Energy shares were the biggest boost to the TSX, buoyed by oil prices that rose over 3 per cent as heightened ​tensions in the Strait of Hormuz ‌clouded prospects of a recovery in supply

Financial shares were up 0.2 per cent. Major Canadian banks are set to post quarterly earnings over the next few days, starting with Bank of Nova Scotia ‌and Bank ​of Montreal on Wednesday.

Financial companies make up nearly a third of the ​weight on the TSX index.

Tech and AI stocks are rising again Tuesday and clawing back a bit more of their brutal sell-off . But worries about higher interest rates are keeping other kinds of stocks in check following signals that the U.S. economy is doing better than economists expected.

The S&P 500 rose 0.4 per cent and is on track for its first three- day winning streak since before Halloween . The Dow Jones Industrial Average was up 27 points, or 0.1 per cent, while the Nasdaq composite was 0.5 per cent higher.

After plunging for nearly two months, mainly on worries that artificial intelligence won’t be able to produce enough profits and productivity to make all the investment in the tech worth it, the U.S. stock market has bounced back the last couple of weeks. That’s helped the S&P 500 pull within 6 per cent of its all-time high set in early October after it briefly dropped more than 11 per cent below the mark.

One of the recovery’s big drivers was the surprise return of Jensen Huang as CEO of Nvidia. That’s even though questions remain about whether he risked the nation’s security by allowing Nvidia’s advanced AI chips to go to China against U.S. export controls.

He is answering questions on Capitol Hill Tuesday from Congress about it. In prepared remarks released ahead of his closed- door appearances, Huang said that he did not believe that a woman with whom he had an affair was a Chinese intelligence asset or spy. And, as far as he knows, her company did not divert Nvidia’s AI chips to China.

Nvidia’s stock rose 3.4 per cent and was the strongest single force lifting the S&P 500. After nearly halving in price from its record set on Oct. 6, the chip company’s stock has since trimmed the drop to roughly 34 per cent.

Other stocks tied to AI likewise pared their earlier autumn falls.

Chip giants Broadcom rose 3.9 per cent, and Advanced Micro Devices climbed 5.2 per cent.

Anthropic was shakier after the company behind the Claude chatbot said its AI models have figured out a theoretical way to crack complex math problems used for encryption, a crucial component of the cybersecurity infrastructure that protects much of the internet. The findings cannot currently be exploited to carry out practical attacks.

After initially falling more than 4 per cent, Anthropic erased the loss and flipped to a gain of 1.3 per cent.

In the bond market, Treasury yields rose after a jump in oil prices upped the pressure on inflation.

The price for a barrel of Brent crude oil climbed 4.6 per cent to US$94.64. It remains near the middle of its wide range from roughly US$72 to US$114 since the United States and Israel attacked Iran in February.

The cost of living across the United States continues to rise much faster than anyone would like, and that has much of Wall Street expecting the Federal Reserve will resume its hikes to interest rates when it meets next week.

Higher rates can keep a lid on inflation, but they do so by making it more expensive to borrow money and slowing the economy. Higher rates also push downward on prices for stocks and other investments.

Two reports on the U.S. economy came in stronger than economists expected on Tuesday, and that could give the Fed more leeway to raise interest rates. One said that growth in U.S. manufacturing is better than expected, while another said employers were advertising more job openings at the end of October.

The stronger-than-expected economic data and rises in oil prices helped send the 10-year Treasury yield to 5.03 per cent from 4.93 per cent late Monday. That’s a notable move for the bond market.

In stock markets abroad, indexes rose across much of Europe following a more mixed finish in Asia. Stocks fell 0.6 per cent in Shanghai but rose 1.2 per cent in Seoul.

South Korea’s exports jumped to a record of US$121.64 billion in November, more than doubling from a year earlier, according to data released Tuesday. Demand for computer chips accounted for a large share of that increase.

Reuters and The Associated Press