Miners and energy stocks pushed the Australian sharemarket into the green in the first trading day of the year even after Wall Street ended the year on a sombre note.