The Market Had a Fantastic Second Quarter. But Here's the Warning No One Is Talking About.

Source Motley_fool

Key Points

  • The S&P 500 is reaching record highs, but it's also highly expensive.

  • The market has been weighing mixed economic data, including high inflation and steady interest rates.

  • Investors should ensure they're prepared for market fluctuations by holding enough safe stocks.

  • These 10 stocks could mint the next wave of millionaires ›

The market is booming, with the S&P 500 (SNPINDEX: ^GSPC) up 9% year to date, driven by artificial intelligence (AI). Or that's the story at the surface level.

After a rally from April lows, the S&P 500 gained 15% in the second quarter of the year. However, that masks what's been happening more recently; the S&P 500 is roughly flat over the past month. Here's what's going on, and what investors should do.

Where to invest $1,000 right now? Our analyst team just revealed what they believe are the 10 best stocks to buy right now, when you join Stock Advisor. See the stocks »

Oil, inflation, and interest rates

The market is back to record highs, although it hasn't moved much over the past few weeks. It recouped its April losses, caused by the Iran war and spiking oil prices, since oil prices have eased. However, the economic data coming in is mixed, at best.

Caution tape on a traffic cone.

Image source: Getty Images.

In his first meeting as Federal Reserve chairman, Kevin Warsh declined to cut interest rates, which was expected. While he didn't provide future guidance, the Federal Open Market Committee (FOMC) expects a rate hike before the year is out. This is as inflation continues to rise faster than the Fed would like; the Consumer Price Index (CPI) rose 4.1% in May, while the Fed is targeting a 2% rate.

Finally, as of Wednesday morning, President Donald Trump has said the ceasefire with Iran is over, and oil prices are already spiking again.

What should investors do?

The market has been factoring all of this in over the past month, and AI isn't necessarily providing more growth juice right now. In fact, many of the largest AI companies, like Nvidia, Amazon, and Alphabet, are also flat or down over the past month.

On top of that, the market is near its most expensive level ever. Not only is it at record highs, but its P/E ratio adjusted for inflation, or CAPE ratio, is 41, right behind a peak of 44 it reached in 2000. That preceded a major market crash and three back-to-back years of S&P 500 losses.

If you're worried, the worst thing you can do right now is get out of the markets. Historically, successful investors have stayed in the market and benefited from rebounds. You can't time the market, and you can only see the best exit and reentry points in hindsight.

What you can do, though, is make sure your portfolio is set up for any kind of circumstances. That means having the growth stocks you want to take advantage of the strong bull market, but also the safe stocks you need to protect your assets in the case of a market crash. If you're not well positioned to weather it, you might want to reshuffle your portfolio and make sure you allocate enough of your holdings to protective stocks.

Where to invest $1,000 right now

When our analyst team has a stock tip, it can pay to listen. After all, Stock Advisor’s total average return is 917%* — a market-crushing outperformance compared to 209% for the S&P 500.

They just revealed what they believe are the 10 best stocks for investors to buy right now, available when you join Stock Advisor.

See the stocks »

*Stock Advisor returns as of July 9, 2026.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
All hope seems lost for a Bitcoin recovery this year. Is it really over?Bitcoin is back in the danger zone, as prices fell to their lowest level since January on Thursday after selling pressure got worse across the crypto market. Bitcoin’s price is currently at $63,300, down by over 16% for the week. Over the past seven days, Bitcoin has lost about 13% and slipped into the $67,000...
Author  Cryptopolitan
Jun 04, Thu
Bitcoin is back in the danger zone, as prices fell to their lowest level since January on Thursday after selling pressure got worse across the crypto market. Bitcoin’s price is currently at $63,300, down by over 16% for the week. Over the past seven days, Bitcoin has lost about 13% and slipped into the $67,000...
placeholder
Crypto Market Slips 1.24% as US Strikes on Iran Lift OilThe total cryptocurrency market fell 1.24% on Wednesday after the United States launched military strikes against Iran, lifting oil prices and pushing investors out of risk assets.Bitcoin (BTC), Ether
Author  Beincrypto
Yesterday 03: 09
The total cryptocurrency market fell 1.24% on Wednesday after the United States launched military strikes against Iran, lifting oil prices and pushing investors out of risk assets.Bitcoin (BTC), Ether
placeholder
MicroStrategy Stock Price Outlook for July 2026: Will MSTR Recover?MicroStrategy stock (MSTR) has bounced about 29% off its late-June low, even shrugging off news that the company sold Bitcoin.Yet the rebound is running on fading volume and still-negative money flows
Author  Beincrypto
Yesterday 03: 10
MicroStrategy stock (MSTR) has bounced about 29% off its late-June low, even shrugging off news that the company sold Bitcoin.Yet the rebound is running on fading volume and still-negative money flows
placeholder
Gold Price Outlook For July 2026Gold trades near $4,140 on Tuesday, down 26% from January’s record high of $5,598 per ounce. This gold price prediction for July 2026 examines why the metal keeps falling and where it could bottom.Fiv
Author  Beincrypto
Yesterday 03: 11
Gold trades near $4,140 on Tuesday, down 26% from January’s record high of $5,598 per ounce. This gold price prediction for July 2026 examines why the metal keeps falling and where it could bottom.Fiv
placeholder
Bitcoin Reacts As Fed Minutes Reveal Split on Rate HikesThe Federal Reserve released minutes from its June 16-17 meeting on July 8, showing a divided committee that unanimously held rates steady at 3.50% to 3.75% while flagging inflation risks tied to arti
Author  Beincrypto
11 hours ago
The Federal Reserve released minutes from its June 16-17 meeting on July 8, showing a divided committee that unanimously held rates steady at 3.50% to 3.75% while flagging inflation risks tied to arti
goTop
quote