The Thai stock market gained 0.35 percent Tuesday owing to bargain hunting in energy shares, an analyst said. The Stock Exchange of Thailand (SET) composite index edged up 2.26 points to close at 655.46, while the blue chip SET-50 index was up 0.43 points at 469.66.