The local sharemarket has built on its positive start, with mining, energy and consumer discretionary stocks doing the heavy lifting.