The shares were bought from local institutions and foreign investors who traded part of their holdings to take profits as the bank’s share price rallied.