Thai investors have learned to sell on the protests, buy on the coup