New York: Major technology and internet stocks have rallied throughout this year, with July set to be the latest in a lengthy streak of monthly gains.The Nasdaq 100 Index is up 3.6% this month and set for a fifth straight monthly gain, its longest such stretch since August 2020. It has risen 44% in 2023, with excitement surrounding artificial intelligence a primary driver behind the gains. The index is heavily weighted toward megacap internet and technology stocks, which have led the market higher over the year. Quarterly results out of the sector – including from stocks like Alphabet and Meta Platforms – have underlined how big tech continues to offer robust fundamentals.Apple is the biggest component of the Nasdaq 100, comprising nearly 12% of the index weight. The stock has risen about 1% in July and is poised to close out a seventh straight positive month. That would mark its longest streak since 2014. The stock is up by more than 50% so far this year.The next test for Apple will come later this week, when it reports its third-quarter results on Aug. 3. Amazon.com Inc. is also due to report on the same day. The e-commerce and cloud-computing company is another megacap that has been on a lengthy streak. Shares of Amazon rose 2.6% this month, its fifth straight monthly gain and longest since 2018. The stock has risen nearly 60% in 2023.Perhaps most notably, Meta Platforms rose 11% in July, in its ninth straight positive month. This is the longest streak of monthly gains on record for the Facebook parent, which last week reported strong quarterly results and gave a bullish forecast.The gains haven’t been limited to US stocks. The Nasdaq Golden Dragon China Index rose 20% this month, with July its biggest monthly gain since November. Among major gainers, PDD Holdings rose 30% this month while JD.com Inc. rose 21%; the pair represent the two biggest percentage gainers among Nasdaq 100 components in July.