Every now and then, investors take things way too far. Emboldened by a sustained market run, they push stock prices to huge premiums of what they are truly worth, inflating an asset bubble fated to pop, sooner or later.

Some of the hallmarks of such episodes are there today: historically high stock valuations, speculative behaviour everywhere and plenty of retail investor enthusiasm.

More and more reputable voices in the industry are saying the stock market is getting dangerously overheated even as economic conditions deteriorate.

Where does that leave the rational investor? Backing away from the frenzy would seem the obvious answer.

Problem is, irrational markets can be long-lived and fantastically lucrative. In the year that led up to the 2022 market peak, the S&P 500 index increased by 30 per cent.

Twelve-month gains of 16 per cent preceded the global financial crisis. And the last year of the dot-com bubble saw U.S. stocks rise by 20 per cent.

Sitting on the sidelines of a bull market is not a good way to build wealth. Now is the time for sensible adjustments rather than drastic moves.

“Do we think the stock market is overvalued? Absolutely. Are we selling our positions? Not at all,” said Rebecca Teltscher, a portfolio manager at Newhaven Asset Management Inc. in Toronto.

Let’s take a closer look at a few smart ways to invest in a world gone mad.

Sin a little

The temptation to avoid a market crash is a powerful one.

Consider the COVID-19 pandemic, which was a health crisis, financial crisis and economic crisis wrapped into one. In the moment, it felt to many like their savings could get obliterated by the mother of all stock market crashes.

Those who moved into cash in early 2020 may have spared themselves from what proved to be a short but substantial sell-off. But a Vanguard study showed that about 80 per cent of these panickers would have been better off doing nothing.

This is a good example of why market timing is a cardinal sin of investing. But there are times when it’s okay to “sin a little,” as billionaire quant investor Cliff Asness likes to say.

That might mean shifting a bit toward stocks with relatively low valuations in a market that is heavily tilted toward growth stocks.

INVESTCON 5

Howard Marks is another billionaire investor whose advice carries great weight in financial circles.

In his latest newsletter, Mr. Marks said it’s time to move to INVESTCON 5, which is a six-point scale of investment risk similar to the military readiness system used by the Pentagon.

“If you lighten up on things that appear historically expensive and switch into things that appear safer, there may be relatively little to lose from the market continuing to grind higher for a while,” he wrote.

Bonds are well-suited as defensive investments, Mr. Marks added.

Cut back on the U.S.

A purely passive index investor tracking the global market is heavily exposed to the U.S. right now. That’s because American stocks account for a whopping 72 per cent of the total market capitalization of the MSCI World Index.

Of course, the U.S. market itself is also highly concentrated, with the Magnificent Seven stocks comprising more than one-third the value of the S&P 500 index.

A bet on global stocks, therefore, is largely a bet on Big Tech, which is sporting some historically high valuations.

“A smart move to make right now is to underweight U.S. stocks,” said Sébastien McMahon, chief strategist at iA Investment Management in Quebec City.

“That doesn’t mean going to zero. But instead of having 70-per-cent U.S., maybe you can go down to 60 per cent.”

Shift to safer stocks

Very strong companies can sometimes make for risky stocks. Nvidia Corp., the world’s most valuable public company, saw its stock decline by as much as 37 per cent earlier this year. Tesla Inc.’s shares dropped by as much as 54 per cent.

A stable dividend-paying Canadian blue-chip trading at 18 times earnings doesn’t have the same downside, Ms. Teltscher said. “Can that stock decrease by 70 per cent? Not without going bankrupt.”