Tech stocks are the biggest gainers today, helping pull the market to a positive close with the ASX 200 up 40 points.