Stock markets open in green for third straight session