Tech stocks close out first six-week rally since January 2020