U.S. stocks shook off early declines and closed out the last trading day of the month with modest gains as a rise in Microsoft helped offset declines in Amazon and Apple after disappointing quarterly earnings from the online retailer and iPhone maker.
The TSX ended lower amid weakness in the heavyweight financials and resources sectors. Indications that supply chain disruptions could weigh on the corporate earnings outlook weighed on investor sentiment, but the index still notched its biggest monthly gain since last November.
The Toronto Stock Exchange’s S&P/TSX composite index ended down 160.46 points, or 0.8%, at 21,037.07.
The Canadian economy most likely underperformed expectations in the third quarter amid ongoing supply chain woes and a brutal drought, official data from Statistics Canada suggested.
Canadian financial shares fell 1.4%, while the materials group, which includes precious and base metals miners and fertilizer companies, lost 1.6%. Spot gold was down 0.9% at about $1,782 an ounce.
For October, the Toronto market was up 4.8%, as higher oil prices boosted energy stocks and rising bond yields boosted prospects for bank profit margins.
“Whenever you have a scenario like that it really bodes well for the TSX,” said Allan Small, senior investment advisor of the Allan Small Financial Group.
Energy and financials combined account for 45% of the Toronto market’s value.
Imperial Oil Ltd said its third-quarter profit more than doubled from the prior quarter, boosted by a rally in global crude prices, higher output and increased demand for motor fuels.
Still its shares fell 7.1%, while shares of construction company Aecon Group ended 9.5% lower after it reported quarterly results.
On Wall Street, Microsoft Corp’s shares closed at a record high of $331.62 and ended the session with a market capitalization of $2.49 trillion, surpassing Apple Inc’s market cap of roughly $2.48 trillion.
Apple lost 1.81% after it warned the impact of supply-chain disruptions will be even worse during the current holiday sales quarter, while Amazon.com Inc declined 2.15% as it forecast downbeat holiday-quarter sales amid labor shortages.
“The takeaway from today is the resilience to the overall index despite 10% of market cap in two companies disappointing and yet the market is flat. It’s the resilience of the marketplace, it suggests to me the trend is still intact,” said David Joy, chief market strategist at Ameriprise Financial in Boston.
“Maybe the numbers were a surprise to the analyst community but not the reasons for the disappointment so there is still a general view that this is not business lost but business postponed and the trend in the economy and in the market continues to be to the upside.”
The Dow Jones Industrial Average rose 89.08 points, or 0.25%, to 35,819.56, the S&P 500 gained 8.96 points, or 0.19%, to 4,605.38 and the Nasdaq Composite added 50.27 points, or 0.33%, to 15,498.39.
The S&P 500 had fallen as much as 0.65% earlier in the day. The benchmark index advanced 1.3% for the week, its fourth straight weekly climb, marking its longest weekly streak of gains since April. For the month, the S&P rose 6.9%, its biggest monthly rise since November 2020.
The Dow rose 0.4% for the week while the Nasdaq gained 2.7%, also marking four straight weekly gains for each. The Dow climbed 5.8% for October, its best monthly performance since March, while the Nasdaq jumped 7.3% for its biggest monthly percentage gain since November 2020.
Apple had risen about 2.5% while Amazon gained 1.6% in Thursday’s session, helping to send the S&P 500 and Nasdaq to closing record highs.
With 279 companies in the S&P 500 having reported results through Friday morning, 82.1% have topped earnings expectations, according to Refinitiv data. The current year-over-year earnings growth rate for the third quarter is 39.2%.
Market participants have been closely attuned to the ability of companies to maneuver through labor shortages, rising price pressures and clogs in the supply chain, and a solid earnings season has helped investors overlook a mixed macroeconomic picture with a Federal Reserve that is poised to begin to trim its massive bond purchases soon.
The central bank’s next policy announcement is on Nov. 3.
Data showed U.S. consumer spending increased solidly in September, while inflation pressures are broadening.
The data indicated the jury is still out on whether the Fed’s “transitory” view on inflation will hold true.
AbbVie Inc advanced 4.56% as the U.S. drugmaker raised its 2021 adjusted profit forecast for the third time this year.
Starbucks Corp tumbled 6.30% after the coffee chain said it expects fiscal 2022 operating margin to be below its long-term target due to inflation and investments.
Declining issues outnumbered advancing ones on the NYSE by a 1.14-to-1 ratio; on Nasdaq, a 1.02-to-1 ratio favored advancers. The S&P 500 posted 50 new 52-week highs and 4 new lows; the Nasdaq Composite recorded 127 new highs and 78 new lows. Volume on U.S. exchanges was 11.12 billion shares, compared with the 10.35 billion average for the full session over the last 20 trading days.
Read more: Stocks that saw action Friday - and why
Reuters, Globe staff
Be smart with your money. Get the latest investing insights delivered right to your inbox three times a week, with the Globe Investor newsletter. Sign up today.