American stocks are wrapping up one of their best stretches in years, with an AI-fueled rally carrying major indexes toward a standout quarter.

According to Livemint, US stocks are poised for their strongest quarterly performance in six years, lifted by optimism around artificial intelligence. In early trading on Tuesday — the quarter's final session — S&P 500 futures were up 0.2%, Nasdaq 100 futures gained 0.4%, and Dow Jones Industrial Average futures traded 0.2% higher as of 7:12 a.m. New York time.

The Economic Times reported that Wall Street futures ticked higher on the last trading day of a quarter that saw equities post their biggest gains in years.

The picture is not entirely smooth. BNN Bloomberg framed the same period as "a tough June," a reminder that a strong quarter can still contain rough patches along the way.

The rally also raises questions about how concentrated the gains have become. Barron's noted that Alphabet's stock illustrates how the Dow's growing tilt toward technology is "a blessing and a curse" — powerful when tech megacaps climb, but riskier when so much of the market's strength rests on a handful of names.

Taken together, the sources point to a market closing out a remarkably strong quarter, driven heavily by enthusiasm for AI and the big technology companies building it.

Why it matters: When a small group of AI-linked tech giants powers most of the market's gains, the rewards are large but so is the risk that any wobble in those few stocks could ripple across everyone's investments and retirement savings.