The Bank Nifty extended its gains for a second straight session on Wednesday, rising 2 percent on value buying in banking shares.