Canada's main equity benchmark retreated as geopolitical risk and weakness in U.S. technology stocks weighed on investor sentiment. The Toronto Stock Exchange closed lower, pressured by Middle East tensions that lifted crude oil prices and sparked a flight to safety among global investors.

U.S. technology earnings disappointed this week, with major software and semiconductor firms reporting results that failed to meet elevated market expectations. The Nasdaq 100 declined alongside broader weakness in mega-cap growth stocks, which have anchored much of the market's gains this year. Investors reassessed valuations for companies trading at premium multiples after the earnings misses.

Crude oil gained on escalating Middle East geopolitical tensions, benefiting energy stocks but pressuring cyclical sectors that depend on stable fuel costs. WTI crude moved higher as supply concerns resurfaced in the region. The energy rally offered some offset to losses in technology, but proved insufficient to support the broader market.

The Canadian dollar weakened against the greenback as risk appetite faded. A stronger U.S. dollar typically pressures commodity-linked currencies, and the loonie fell as investors rotated into haven assets. Bank of Canada rate expectations shifted slightly lower given the economic headwinds from the tech slowdown and geopolitical uncertainty.

Defensive sectors outperformed the broader market. Utilities and dividend-paying stocks attracted capital fleeing growth-oriented technology names. Materials and energy posted mixed results, with gold benefiting from safe-haven demand while metals linked to economic growth faced selling pressure.

Market participants now await next week's economic data, including U.S. inflation readings and jobless claims, which will shape expectations for Federal Reserve policy. Canadian inflation data is also on the calendar, with implications for potential Bank of Canada rate cuts in 2024.

Volatility metrics edged higher as investors digested multiple crosscurrents. The combination of earnings misses, geopolitical risk, and shifting rate expectations created an uncertain backdrop for equity positioning. Portfolio managers reduced exposure to high-beta technology stocks in favor of lower-volatility alternatives.

The selloff reflects a reassessment of the "growth at any price" narrative that dominated markets earlier in the year. Investors now demand better earnings quality and clearer guidance from technology firms before supporting further multiple expansion.