Retail investors book profits as institutional buyers stage a comeback in the market