The share market has notched up its longest ever rally, with a 12th straight day of gains coming on strength in the mining and energy sector.

The share market has notched up its longest ever rally, with a 12th straight day of gains coming on strength in the mining and energy sector.