Market extends rally, lifted by bank stocks