The rally was broad-based, with all major sectoral indices trading in the green