Tech stocks were the one bright spot in February as the broader market got hammered and the sector was on track to be the only monthly gainer on the S&P 500 index . The S&P 500’s tech sector, which is the largest of the benchmark’s 11 sectors at a $7 trillion market cap, was on track for a 0.7% gain for February, and is up 8.3% for the year. In comparison, the S&P 500 was tracking at a 3% loss for February, and is up 2.5% for the year. With a few hours of February trading to go, shares of Apple Inc. have gained nearly 7% for the month, while shares of Hewlett Packard Enterprise Co. have rallied 15%, Red Hat Inc. shares have gained 13%, Micron Technology Inc. shares are up 11%, and Cisco Systems Inc. shares have rallied 9%. Financials are on track to be the second best performing sector in February, running at a 1.6% decline, and energy stocks are faring the worst with the sector down nearly 10% for the month.