The S & P 500 just had its longest winning streak in two years, and it wasn’t led by major tech companies. The benchmark index rose 6.4% over eight straight days of gains, a run not seen since November 2021. The streak ended Thursday, with a 0.8% drop on the back of rising yields . CNBC Pro looked at the stocks that led the index higher over the winning streak. We also screened for where analysts see them going from here. After getting beat down in late summer and early fall, Generac led the index in the rally with a gain of more than 26%. That rally brought the power generator maker’s stock back above its flatline on the year. Even after the gain, Wall Street is bullish looking ahead. The average analyst polled by FactSet has a buy rating and an upside implying nearly 30% could still be gained over the coming year. GNRC YTD mountain Generac shares in 2023 Other top performers don’t have as big of upsides ahead. Expedia was the next-biggest gainer with a 25.2% climb. The company beat Wall Street expectations on both lines last week when reporting third-quarter earnings, giving upward momentum to the stock. The stock has outperformed the broader market, surging nearly 30% so far this year. Now, the average analyst sees just 9.1% upside ahead for the stock. Just two out of every five analysts have buy ratings. Trane is expected to have an even more miniscule upside on the horizon. After rallying just over 20% over the course of the S & P 500’s rally, the average analyst now sees just under 3% to add in the next 12 months, per FactSet. That comes after a strong year, with shares up 31.5% since 2023 started. Only one out of every four analysts holds a buy rating on the stock. The manufacturing company also gave a better financial report than anticipated last week, as well as strong full-year earnings guidance. Trane also announced it completed its acquisition of Nuvolo, a software solutions provider. — CNBC’s Fred Imbert contributed to this report.